/* セクション全体 */
.section.section-fuyouhin {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 4rem 2rem;
  background: #fefefe;
}
.fuyouhin-content {
  position: relative;
  z-index: 2;
}
h2.f-title {
	color: chocolate !important;
}
/* 見出しH2 */
.fuyouhin-content h2 {
  font-size: 2.4rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.4;
	text-align: center;
}

/* 見出しH3 */
.fuyouhin-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.f-subtitle {
	font-size: 1.2rem !important;
}
.section.section-fuyouhin-title {
  background-image: url('http://y-music.moo.jp/kawanami_wp_2025/wp-content/uploads/2025/07/fuyou-01.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: white; /* 親に白指定 */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.section-fuyouhin-title::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); 
  z-index: 1;
}

/* 内部ラッパー */
.fuyouhin-content {
  max-width: 960px;
  width: 100%;
}

.section.section-cleaning-title {
  background-image: url('http://y-music.moo.jp/kawanami_wp_2025/wp-content/uploads/2025/09/haouse.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: white; /* 親に白指定 */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.section-cleaning-title::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); 
  z-index: 1;
}


/* 本文p */
.fuyouhin-description {
font-size: 1rem;
    line-height: 1.9;
    color: var(--wp--preset--color--white);
    background: var(--wp--preset--color--vivid-cyan-blue);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.section.section-cleaning {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 4rem 2rem;
  background: url('http://y-music.moo.jp/kawanami_wp_2025/wp-content/uploads/2025/09/f_price.jpg');
}
.cleaning-content {
  position: relative;
  z-index: 2;
}
.section-cleaning::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
/*　エアコン　*/
.section.section-aircon-title {
  background-image: url('http://y-music.moo.jp/kawanami_wp_2025/wp-content/uploads/2025/10/aircon.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: white; /* 親に白指定 */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.section-aircon-title::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); 
  z-index: 1;
}

/*  トランクルーム　*/
.section.section-trunk-title {
  background-image: url('http://y-music.moo.jp/kawanami_wp_2025/wp-content/uploads/2025/10/trunk.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: white; /* 親に白指定 */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.section-trunk-title::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); 
  z-index: 1;
}



/* 遺品整理　*/
.section.section-ihin-title {
  background-image: url('http://y-music.moo.jp/kawanami_wp_2025/wp-content/uploads/2025/10/ihin_title.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: white; /* 親に白指定 */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.section-ihin-title::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); 
  z-index: 1;
}


.section-ihin {
  background-image: url('http://y-music.moo.jp/kawanami_wp_2025/wp-content/uploads/2025/10/ihin.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.section-ihin::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* ←暗めにして文字読みやすく */
  z-index: 1;
}
/* 引っ越しについて　*/
.section.section-moving-title {
  background-image: url('http://y-music.moo.jp/kawanami_wp_2025/wp-content/uploads/2025/10/hikkoshini.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: white; /* 親に白指定 */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.section-moving-title::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); 
  z-index: 1;
}

.section.section-moving {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 4rem 2rem;
  background: #fefefe;
}
.moving-content {
  position: relative;
  z-index: 2;
}
.section-moving strong{
	color:#005fa9;
	font-weight:bold;
}
.moving-1 {
border: solid 3px #005fa9;	
    border-radius: 10px;
    padding: 16px;	
}
.moving-2 {
background: #00000063;
    padding: 16px;
    text-align: left;
}
.red {
	color:red;
}

.c-title-2 {
	color:#000 !important;
	font-size:29px !important;
}
.c-title-2 span {
	background: linear-gradient(transparent 64%, yellow 0%);
}

.light_box {
	display:flex;
}
.light_box img {
	width:38%;
	height:fit-content;
	padding:12px;
}
.light_box .text {
	padding:12px;
	font-size:14px;
}
.faq {
  width: 800px;  /* ← 横幅制限 */
  margin: 0 auto;    /* ← 中央寄せ */
  padding: 40px 20px;
}

.faq-item {
  border-bottom: 1px dashed #ccc;
  padding: 20px 0;
}

.faq-question {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  color: #005bac;
  transition: 0.3s;
  line-height: 1.6;
}
.faq-question:hover {
  opacity: 0.7;
}

.faq-question::before {
  content: "Q";
  display: inline-block;
  background: #0070c0;
  color: #fff;
  font-weight: bold;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
}

.faq-answer {
  display: none;
  margin-top: 10px;
  padding-left: 40px;
  position: relative;
  color: #333;
  line-height: 1.8;
  max-width: 700px;   /* ← 回答文も制限 */
}

.faq-answer::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 0;
  background: #00a0e9;
  color: #fff;
  font-weight: bold;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
}

/* 開いた状態 */
.faq-item.active .faq-answer {
  display: block;
}

/* スマホ用（少し余白を狭く） */
@media (max-width: 600px) {
  .faq {
    max-width: 90%;
    padding: 20px 10px;
  }
  .faq-answer {
    padding-left: 35px;
  }
}
@media screen and (max-width: 768px) {
  .fuyouhin-content {
    padding: 1rem;
  }

  .fuyouhin-content h2 {
    font-size: 1.5rem;
  }

  .fuyouhin-content h3 {
    font-size: 1rem;
  }

  .fuyouhin-description {
    font-size: 0.95rem;
    padding: 1.2rem;
  }
}


/* 目次ブロックの基本 */
.faq_mokuji{
  position: sticky;     /* スクロール追従（不要なら削除） */
  top: 0;
  z-index: 50;
  background: #fff;
  padding: 12px 16px;
  border-bottom: 1px solid #e6e6e6;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

/* リストの初期化 */
.faq_mokuji ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;      /* 幅が足りない時に折り返し */
  gap: 8px;             /* タブ同士の間隔 */
}

/* タブリンク */
.faq_mokuji a{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 9999px;   /* ピル型 */
  background: #f5f7fb;     /* 薄いグレー青 */
  color: #1b4f9c;          /* ブルー系テキスト */
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  border: 1px solid #e3e8f3;
  transition: background .2s, color .2s, box-shadow .2s, transform .05s;
}

/* ホバー/フォーカス */
.faq_mokuji a:hover,
.faq_mokuji a:focus-visible{
  background: #e8f0ff;
  color: #0a3c87;
  box-shadow: 0 0 0 3px rgba(58,114,220,.15);
  outline: none;
}

/* クリック時の小さな押し込み感 */
.faq_mokuji a:active{
  transform: translateY(1px);
}

/* アクティブ状態（現在の章用）
   JSで .is-active を付ける or 直リンク用に :target と併用してね */
.faq_mokuji a.is-active{
  background: #2f6fd6;
  color: #fff;
  border-color: #2f6fd6;
  box-shadow: 0 4px 12px rgba(47,111,214,.25);
}

/* ダークモード（任意） */
@media (prefers-color-scheme: dark){
  .faq_mokuji{
    background: #0f1115;
    border-bottom-color: #1b1f2a;
    box-shadow: 0 2px 10px rgba(0,0,0,.35);
  }
  .faq_mokuji a{
    background: #171b23;
    color: #c7d6ff;
    border-color: #232a39;
  }
  .faq_mokuji a:hover,
  .faq_mokuji a:focus-visible{
    background: #1d2432;
    color: #e8efff;
    box-shadow: 0 0 0 3px rgba(79,137,255,.25);
  }
  .faq_mokuji a.is-active{
    background: #4f89ff;
    border-color: #4f89ff;
    color: #fff;
    box-shadow: 0 4px 12px rgba(79,137,255,.35);
  }
}

/* モバイル最適化 */
@media (max-width: 640px){
  .faq_mokuji{
    padding: 10px 12px;
  }
  .faq_mokuji a{
    padding: 9px 12px;
    font-size: 13px;
  }
}


.article {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  padding: 20px 24px;
  margin-bottom: 32px;
  transition: all .25s ease;
}

.article a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.article:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.article h2.c-title-2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .6em;
  color: #004c97; /* お好みでブランドカラーに変更 */
  line-height: 1.4;
}

.article time {
  display: block;
  font-size: 0.9rem;
  color: #999;
  margin-bottom: .8em;
}

.article p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

@media (min-width: 768px) {
  .article {
    padding: 28px 32px;
  }
  .article h2.c-title-2 {
    font-size: 1.4rem;
  }
}
.news-item a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

