@charset "utf-8";

/* Feeサービスページ料金内容 */
#Fee {
    background: #f1fcff;
    color: #333;
    position: relative;
}

.Fee .ContentsHead h2 {
    filter: drop-shadow(2px 2px 1px #FFF);
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    margin: 40px auto 24px;
    color: #2644AC;
}

.Fee .fee-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr; /* SP: 1列 */
  gap: 16px;
}

/* タブレット以上：2列 */
@media (min-width: 600px) {
  .Fee .fee-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* PC：3列 */
@media (min-width: 1024px) {
  .Fee .fee-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.Fee .fee-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.Fee .fee-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.Fee .fee-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.5;
  background: linear-gradient(90deg, #0077c8 0%, #00aaff 100%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
}


.Fee .fee-price {
font-size: clamp(2.0rem, 4vw, 2.8rem);
    font-weight: bold;
    color: #d32f2f;
    margin: 0 auto 16px;
}

.Fee .fee-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.Fee .fee-notes {
  margin: 18px 0 0;
  font-size: 12px;
  color: #666;
  line-height: 1.7;
}


/* 季節 */
.RegionInfo {
    background: #FFF;
    padding: 40px 0;
    position: relative;
}
.RegionInfoBox {
	position: relative;
	margin-bottom: 32px;
}
.RegionInfoBox h3 {
    border-radius: 16px 16px 0 0;
    background: #2644AC;
    color: #FFF;
    padding: 16px;
    margin: 8px auto 0;
    font-size: clamp(1.0rem, 1.6vw, 1.6rem);
    position: relative;
}
.RegionInfoBox .InnerText {
	padding: 24px 16px;
    background: #f1fcff;
}
.RegionInfoBox p {
	margin: 0 auto 16px;
}

.freeze-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.freeze-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}
.freeze-card:hover {
  transform: translateY(-4px);
}

.freeze-card img.freeze-icon {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.freeze-card dt {
  font-size: calc(1em + 0.2vw);
  font-weight: 700;
  color: #2644AC;
  margin-bottom: 8px;
}

.freeze-card dd {
  font-size: 0.95em;
  color: #444;
  margin: 0;
  line-height: 1.6;
}
/* ====== 凍結被害：カードDL ====== */
.risk-cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 20px;
  margin: 20px 0 10px;
  padding: 0;
}
.risk-cards .dl-item{
  position: relative;
  background: #fff;
  border: 1px solid #e7edf7;
  border-radius: 12px;
  padding: 18px 16px 16px 16px;
  box-shadow: 0 3px 12px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.risk-cards .dl-item:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,.09);
}

/* アイコン（data-icoの絵文字を表示） */
.risk-cards .dl-item::before{
  content: attr(data-ico);
  position: absolute;
  left: 14px;
  top: -14px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  font-size: 22px;
  background: #e8f1ff;
  color: #2644AC;
  border: 2px solid #cfe0ff;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(38,68,172,.18);
}

/* タイトル(dt)・本文(dd) */
.risk-cards dt{
  margin: 18px 0 6px;
  font-weight: 700;
  color: #2644AC;
  font-size: calc(1em + 0.2vw);  /* dtは可変（PCで少し大きく） */
  line-height: 1.4;
}
.risk-cards dd{
  margin: 0;
  color: #3b3b3b;
  font-size: 0.96em;
  line-height: 1.7;
}

/* スマホ最適化 */
@media (max-width: 768px){
  .risk-cards{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .risk-cards .dl-item::before{
    left: 12px; top: -12px; width: 40px; height: 40px; font-size: 20px;
  }
}


/* DL全体 */
.two-col-dl {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2列 */
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* DT+DDブロック */
.two-col-dl .dl-item {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
}
.two-col-dl .dl-item:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

/* DT */
.two-col-dl dt {
  background: #f5f5f5;
  font-weight: 700;
  font-size: 1.05em;
  padding: 12px 16px;
  margin: 0;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
}

/* DD */
.two-col-dl dd {
  padding: 14px 16px;
  margin: 0;
  font-size: 0.95em;
  line-height: 1.6;
  color: #555;
}
/* レスポンシブ対応: 画面幅が480px未満では1列 */
@media (max-width: 680px) {
/* DL全体 */
.two-col-dl {
  gap: 8px;
}
.two-col-dl dt {
    padding: 8px;
}
.two-col-dl dd {
    padding: 8px;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.6;
    color: #555;
}
}

/* 凍結注意リスト */
ul.freeze-alert {
  list-style: none; /* デフォルトのポチ削除 */
  padding: 0;
  margin: 16px 0;
}

ul.freeze-alert li {
position: relative;
    padding: 8px 16px 8px 2.5rem;
    margin-bottom: 16px;
    background: #f0f6ff;
    border-radius: 8px;
    line-height: 1.8;
    font-size: clamp(1.1rem, 2.3vw, 1.7em);
}

/* アイコン（疑似要素でチェックマーク or 雪の結晶も可） */
ul.freeze-alert li::before {
  content: "✔"; /* または "❄" で雪マークにしてもOK */
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #2644AC;
  font-weight: bold;
}

/* 強調文字 */
ul.freeze-alert li strong {
  color: #d32f2f; /* 注意点は赤で強調 */
  font-weight: 700;
}


.OutLinkArea {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列に配置 */
  gap: 15px; /* アイテム間の間隔 */
  padding: 0;
  list-style: none;
  margin: auto;
}

.OutLinkArea li a {
  display: block;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  color: #ffffff; /* リンクの文字色 */
  background-color: #4CAF50; /* グリーン系のリンク背景色 */
  border-radius: 5px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
  position: relative;
  transition: background-color 0.3s ease; /* ホバー時のエフェクト */
}

.OutLinkArea li a:hover {
  background-color: #388E3C; /* ホバー時の背景色（濃いグリーン） */
}

.OutLinkArea li a::after {
  content: '🔗'; /* 外部リンクを示すアイコン */
  position: absolute;
  right: 10px;
  font-size: 1.2em;
  color: #ffffff; /* アイコンの色 */
}

/* レスポンシブ対応: 画面幅が768px未満では2列 */
@media (max-width: 768px) {
  .OutLinkArea {
    grid-template-columns: repeat(2, 1fr); /* 2列 */
  }
}

/* レスポンシブ対応: 画面幅が480px未満では1列 */
@media (max-width: 480px) {
  .OutLinkArea {
    grid-template-columns: 1fr; /* 1列 */
  }
}

.category-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.6); /* 半透明の背景 */
  color: #ffffff; /* テキストの色 */
  padding: 5px 10px;
  border-radius: 3px; /* 角を丸く */
  font-size: 0.9em;
  font-weight: bold;
  z-index: 10; /* 他の要素より前面に表示 */
}

/* サムネイルのラッパーを相対配置にして、絶対配置のカテゴリラベルを固定 */
.article-thumbnail {
  position: relative;
}
.pagetop {
  position: fixed;
bottom: 30px;
    right: 8px;
  width: 50px;
  height: 50px;
  background: #0076ff;
  color: #fff!important;
  font-size: 24px;
  font-weight: bold;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 6;
  transition: all 0.3s ease;
}

.pagetop:hover {
  transform: translateY(-4px);
  background: #005ed3;
}

/***** トップArealist（背景は指定どおり固定） *****/
.Arealist {
  background: #2644AC;
  color: #FFF;
  padding: 40px 0;
  position: relative;

  /* 矢印バッジ変数 */
  --badgeOffset: 16px;
  --badgeSize: 28px;
  --iconSize: 14px;
}

/* ===== 無限マルキー用ラッパー ===== */
.arealist-ticker {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== トラック（UL） ===== */
.ticker-track {
  display: flex;
  gap: 16px;              /* ★ JSの GAP と一致させること */
  margin: 0;
  padding: 0;
  list-style: none;
  width: max-content;
  will-change: transform; /* パフォーマンスヒント */
  transform: translateX(0);
}

/* ===== アイテム（LI） ===== */
.ticker-item {
  flex: 0 0 auto;
  background-color: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
  color: #333;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  isolation: isolate;
}

/* 内側ボックス（swiper-inner 削除対応） */
.ticker-item > a,
.ticker-item > .area-box {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  padding: 18px 20px 22px; /* 旧 .swiper-inner の余白 */
  position: relative;
  z-index: 2;
}

/* テキスト系 */
.ticker-item dl { margin: 0; text-align: left; }
.ticker-item dt {
  font-weight: 700;
  font-size: clamp(16px, 2vw, 18px);
  letter-spacing: .02em;
  line-height: 1.35;
}
.ticker-item dd {
  margin: 6px 0 0;
  font-size: clamp(13px, 1.6vw, 14px);
  color: #5a5a5a;
  line-height: 1.6;
}
.ticker-item dd span {
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 16px);
}

/* ホバー時の浮き上がり */
.ticker-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
}
.ticker-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 200px at -20% -20%, rgba(255,255,255,.15), transparent 60%),
    linear-gradient(120deg, transparent 0 40%, rgba(255,255,255,.12) 50%, transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
}
.ticker-item:hover::after { opacity: 1; }

/* 右端グラデバー */
.ticker-item::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 6px;
  background: linear-gradient(180deg, #5ea0ff 0%, #2644AC 100%);
  opacity: .9;
  z-index: 1;
}

/* 右下の円＋矢印 */
.ticker-item dl::after {
  content: "";
  position: absolute;
  right: var(--badgeOffset);
  bottom: var(--badgeOffset);
  width: var(--badgeSize);
  height: var(--badgeSize);
  border-radius: 50%;
  background: rgba(38,68,172,.1);
  backdrop-filter: blur(2px);
  z-index: 2;
}
.ticker-item dl::before {
  content: "";
  position: absolute;
  right: calc(var(--badgeOffset) + (var(--badgeSize) - var(--iconSize)) / 2);
  bottom: calc(var(--badgeOffset) + (var(--badgeSize) - var(--iconSize)) / 2);
  width: var(--iconSize);
  height: var(--iconSize);
  background: no-repeat center / contain url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
  <polyline points="8,5 16,12 8,19" fill="none" stroke="%232644AC" stroke-width="3" stroke-linecap="butt" stroke-linejoin="miter" shape-rendering="crispEdges"/>\
</svg>');
  z-index: 3;
  transform: translateZ(0);
}

/* 動きを減らすユーザーへ配慮（rAF停止用。CSSアニメ削除済みなのでほぼ保険） */
@media (prefers-reduced-motion: reduce) {
  .arealist-ticker .ticker-track { transform: none !important; }
}


/***** 診断 *****/



/***** 症状コンテンツ *****/
.Symptoms {
	background: #2644AC;
	color: #FFF;
	padding: 40px 0;
	position: relative;
}
.Symptoms .ContentsHead h2 {
    filter: drop-shadow(2px 2px 1px #000);
    color: #FFF;
}
.Symptoms .SymptomsBox {
 background-color: #fff;
    box-shadow: 0 0 9px rgba(0, 0, 0, .34);
    border-radius: 5px;
    padding: 24px;
    position: relative;
	text-align: center;
}
/***** siteiコンテンツ *****/
.Sitei {
	background: #2644AC;
	color: #FFF;
	padding: 40px 0;
	position: relative;
}
.SiteiHead {
	display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.SiteiHead h2 {
	width: 70%;
	font-size: clamp(1.2rem,2vw,2.0rem);
	margin: auto;
	padding-right: 8px;
}
@media (max-width: 680px) {
.SiteiHead img {
	max-width: 30%;
}
}

/***** コンプラコンテンツ *****/
.Complia {
    padding: 60px 0;
    text-align: center;
    margin: auto;
}
.CompliaTaxt {
    border: 4px solid #2644AC;
    border-radius: 12px;
    padding: 28px 28px 8px;
    text-align: left;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.CompliaTaxt dt {
    position: relative;
    padding: 0 0 10px 0;
    border-bottom: 3px solid #ff5252;
    font-size: clamp(1.3rem, 2.6vw, 1.9rem);
    font-weight: bold;
    margin-bottom: 20px;
    color: #222;
}
.CompliaTaxt dt::before,
.CompliaTaxt dt::after {
    position: absolute;
    left: 25px;
    bottom: -14px;
    width: 28px;
    height: 14px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}
.CompliaTaxt dt::before {
    background-color: #ff5252;
}
.CompliaTaxt dt::after {
    bottom: -11px;
    background-color: #fff;
}
.CompliaTaxt dd {
    margin: 0 0 22px 0;
    line-height: 1.8;
    color: #444;
    font-size: 1rem;
}

/***** Accountミエルカコンテンツ *****/
/* 明朗会計エリア */
.Account {
	color: #FFF;
    padding: 40px 0;
    position: relative;
}
.Account .ContentsHead h2 {
	filter: drop-shadow(4px 4px 1px #004491);
	color: #FFF;
    font-size: clamp(1.7rem, 6vw, 5rem);
}
.Account .ContentsHead h2 span {
    font-size: clamp(1.2rem,2vw,2.0rem);
}
.AccountBox {
	background-color: #fff;
    box-shadow: 0 0 9px rgba(0, 0, 0, .34);
    border-radius: 5px;
    padding: 24px;
    position: relative;
}
ul.AccountArea1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 24px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
    width: 100%;
    overflow: hidden;
}
.AccountArea1 li {
	background: #4BB5EB;
    padding: 8px 16px;
    text-align: center;
    border-radius: 5px;
    width: calc(25% - 24px / 4);
	color: #FFF;
}
.AccountArea1 li span {
	color: #fffc00;
    margin: 0 0 0 5px;
    font-weight: 700;
    font-size: 1.2rem;
}
.AccountArea2 {
	display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
	margin-bottom: 24px;
	color: #FFF;
}
.AccountArea2 > div {
	min-height: 120px;
    border-radius: 8px;
	padding: 0 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.AccountArea2 .Pay1 {
    background-color: #2644AC;
	font-size: clamp(2.0rem, 3vw, 3.5rem);
    font-weight: 700;
}

.AccountArea2 .Pay1 div:first-child {
    font-size: clamp(1.4rem, 2vw, 1.4rem);
    font-weight: 700;
    margin-top: 5px
}

.AccountArea2 .Pay1 div:last-child {
	font-size: clamp(3rem, 4.5vw, 5rem);
    xmargin-top: 5px;
    font-weight: 700;
}

.AccountArea2 .Pay1 span {
    font-size: clamp(0.7rem, 0.8vw, 0.8rem);
}

.AccountArea2 .plus,
.AccountArea2 .minus {
    font-size: clamp(3rem, 4.5vw, 5rem);
    color: #1572e9;
    width: 64px;
    padding-bottom: 16px;
}

.AccountArea2 .Pay2 {
    color: #df0000;
    background-color: #fffc00;
}

.AccountArea2 .Pay2 div:first-child {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    font-weight: 700
}

.AccountArea2 .Pay2 div:last-child {
	font-size: clamp(3rem, 4.5vw, 5rem);
    xmargin-top: 5px;
    font-weight: 900;
}

.AccountArea2 .Pay2 span {
    font-size: clamp(0.7rem, 0.8vw, 0.8rem);
}
.AcountText {
	color: #333;
}
.hikaku {
    text-align: center;
    margin: 16px auto;
}

/* 声スライド */
.Voice {
    position: relative;
    max-width: 1200px;
    margin: 32px auto 0;
}
.Voice .swiper-container {
  width: 100%;
  height: 300px; /* 高さは調整できます */
}

.Voice .swiper-slide {
	background-color: #fff;
    box-shadow: 0 0 9px rgba(0, 0, 0, .34);
    border-radius: 5px;
    position: relative;
	color: #333;
}
.Voice .swiper-inner {
	padding: 16px;
}
.Voice .swiper-inner h3 {
	margin: 0 auto 10px;
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    line-height: 1.0;
}
.Voice .swiper-inner strong {
	margin: 0 auto 8px;
    font-size: 1.0rem;
    display: inline-block;
    background: #4BB5EB;
    padding: 2px 8px;
    border-radius: 5px;
    font-weight: 500;
}
.Voice .swiper-inner p {
	margin: auto;
    font-size: clamp(0.8rem, 1.0vw, 1.0rem);
}
/*****  メディア情報  *****/
.Media {
    background: #f1fcff;
    color: #333;
    position: relative;
}
.Media .ContentsHead h2 {
    color: #2644AC;
}
/* 2カラムレイアウト */
.Media__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 900px) {
  .Media__grid { grid-template-columns: 1fr; }
}

/* カード */
.MediaCard {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.MediaCard__title {
  color: #2644AC;
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin: 0 0 10px;
}
.MediaCard__text { margin: 0 0 16px; line-height: 1.8; }

/* ボタン */
.Btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, filter .2s ease;
}
.Btn--youtube { background: #2644AC; color: #fff; }
.Btn--youtube::before { content: "▶"; font-size: .9em; transform: translateY(1px); }
.Btn:hover { transform: translateY(-1px); filter: brightness(.95); }

/* 動画 */
.MediaVideo { margin-top: 12px; display: flex; justify-content: center; }
.MediaVideo__link {
  display: inline-block; /* ← 全幅化防止 */
  width: 100%;
  max-width: 640px;
}
.MediaVideo__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
  transition: transform .25s ease;
}
.MediaVideo__img:hover { transform: scale(1.02); }

/* オーディオ */
.MediaAudio { display: grid; gap: 16px; }
.MediaAudio__label { font-weight: 700; margin: 0 0 6px; color: #333; }
.Media audio { width: 100%; max-width: 520px; border-radius: 6px; }

@media (max-width: 680px) {

.AccountBox {
    padding: 16px;
}
ul.AccountArea1 {
    margin: 0 auto 16px;
}
.AccountArea1 li {
	margin: 0 2.5% 8px;
    min-width: 100%;
}
.AccountArea1 li span {
	display: block;
	margin: auto;
}
.AccountArea2 {
	display: block;
}
.AccountArea2 .plus, .AccountArea2 .minus {
    width: 100%;
	min-height: auto;
	padding-bottom: 8px;
}
}
@media (max-width: 480px) {
.AccountArea2 > div {
    min-height: auto;
    padding: 8px;
}
}
/***** servicelistコンテンツ *****/
.ServiceList {
	background: #f1fcff;
}
.ServiceBox a {
	text-decoration: none;
	color: #333;
}
.ServiceBox a:hover, .ServiceBox a:visited {
    opacity: 0.7;
}
.ServiceList .ContentsHead h2 {
    filter: drop-shadow(2px 2px 1px #4BB5EB);
    font-size: clamp(1.5rem, 4vw, 3.5rem);
	color: #4169e1;
}
.ServiceList ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
    width: 100%;
    overflow: hidden;
}
.ServiceList ul li {
    width: calc(25% - 56px / 4);
    margin-bottom: 16px;
    background: #FFF;
	position: relative;
	border-radius: 8px;
}
.ServiceBox p {
	font-size: clamp(0.8rem, 1.2vw, 1.0rem);
	margin: auto;
}
.ServiceHead {
	position: relative;
}
.ServiceHead img {
	border-radius: 8px 8px 0 0;
}
.ServiceHead .ServiceTitle {
    position: absolute;
    top: 50%;
    left: 50%;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    font-size: 30px;
    text-align: center;
    text-shadow: 2px 2px 1px #fff;
    margin: 0;
}

.ServiceHead .ServiceTitle h3 {
	color: #175ed4;
    font-weight: 900;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin: auto;
}
.ServiceHead .ServiceTitle p {
	margin: auto;
	font-size: clamp(0.8rem, 1.2vw, 1.0rem);
}
.ServiceInner {
	padding: 8px;
}
.ServiceLink {
	display: block;
	background-image: -webkit-gradient(linear, right top, left top, from(#4BB5EB), to(#4169e1));
    background-image: -webkit-linear-gradient(right, #4BB5EB 0%, #4169e1 100%);
    background-image: linear-gradient(to left, #4BB5EB 0%, #4169e1 100%);
    color: white;
    padding: 8px;
    border-radius: 5px;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
	text-align: center;
	margin-top: 16px;
	font-size: clamp(0.7rem, 1.2vw, 1.0rem);
}
/* 右側に矢印を追加 */
.ServiceLink::after {
  content: '\2192'; /* Unicode矢印（→） */
  display: inline-block;
  margin-left: 10px; /* テキストと矢印の間にスペース */
  transition: transform 0.3s ease; /* ホバー時のアニメーション */
}

/* ホバー時の背景色変更と矢印のアニメーション */
.ServiceLink:hover {
  background-color: #007acc; /* ホバー時に背景色を変更 */
}

.ServiceLink:hover::after {
  transform: translateX(5px); /* 矢印を右にスライド */
}
/* トイレ */
.ServiceBox:nth-child(1) h3 {
    color: #175ED4; /* トイレ - 濃い青 */
}

/* キッチン */
.ServiceBox:nth-child(2) h3 {
    color: #1C9CEA; /* キッチン - 明るい青 */
}

/* お風呂 */
.ServiceBox:nth-child(3) h3 {
    color: #00BFFF; /* お風呂 - 明るい青 */
}

/* 洗面所 */
.ServiceBox:nth-child(4) h3 {
    color: #4FD1C5; /* 洗面所 - 淡い青緑 */
}

/* 給湯ボイラー */
.ServiceBox:nth-child(5) h3 {
    color: #0A84C1; /* 給湯ボイラー - 鮮やかな青 */
}

/* 暖房ボイラー */
.ServiceBox:nth-child(6) h3 {
    color: #5BA3D5; /* 暖房ボイラー - 明るいスカイブルー */
}

/* 排水溝・排水管 */
.ServiceBox:nth-child(7) h3 {
    color: #1496BB; /* 排水溝・排水管 - ターコイズブルー */
}

/* 水道凍結 */
.ServiceBox:nth-child(8) h3 {
    color: #63C7FF; /* 水道凍結 - 淡い氷の青 */
}

@media (max-width: 680px) {
.ServiceList ul li {
    width: calc(50% - 8px / 2);
}
}

/***** Reason 選ばれるコンテンツ *****/
.Reason {
    background: #2644AC;
}
.Reason .ContentsHead {
    color: #FFF;
}
.Reason .ContentsHead h2 {
	filter: drop-shadow(2px 2px 1px #000);
    color: #FFF;
}

.ReasonMerit {
    background-color: #fff;
    box-shadow: 0 0 9px rgba(0, 0, 0, .34);
    border-radius: 5px;
    padding: 24px;
    position: relative;
}
.ReasonCards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.ReasonCard {
  flex: 1 1 calc(33.333% - 20px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ReasonCard p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
  text-align: left;
}
.Reason h3 {
    filter: drop-shadow(2px 2px 1px #FFF);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    margin: 24px auto 24px;
    color: #333;
    text-align: center;
}
.Reason h3.w {
    filter: drop-shadow(2px 2px 1px #333);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    margin: 24px auto 24px;
    color: #FFF;
}
@media (max-width: 768px) {
  .ReasonCard {
    flex: 1 1 100%;
  }
}
/* 2つのコンテンツを横並びに配置 */
.ReasonArea {
  display: flex;
  align-items: center; /* 画像とテキストの中央揃え */
  justify-content: space-between; /* コンテンツ間にスペースを追加 */
  flex-wrap: wrap; /* 画面が小さい時に縦並びにする */
  align-items: stretch;
}

/* 各コンテンツブロックのスタイル */
.ReasonContents {
  display: flex;
  justify-content: space-between;
  align-items: center; /* 画像とテキストの中央揃え */
  flex: 0 0 calc(50% - 8px); /* 2つのコンテンツを横に並べ、左右に20pxの余白 */
  background-color: white;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px; /* 下にマージンを追加 */
  align-items: stretch;
}

/* 画像のスタイル */
.ReasonImg {
	width: 38%;
}

/* テキスト側のスタイル */
.ReasonTaxt {
	width: 62%;
  flex: 1;
  padding-left: 16px;
}

.ReasonTaxt h4 {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    margin: 0 auto 24px;
    position: relative;
    background: #CAF6F7;
    padding: 8px;
    border-radius: 8px;
}
.ReasonTaxt h4:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #CAF6F7;
  width: 0;
  height: 0;
}

.ReasonTaxt p {
  font-size: clamp(0.7rem, 1vw, 1.0rem);
  margin: 0 auto 8px;
}

/* レスポンシブ対応: 画面が小さい場合に縦並びに */
@media screen and (max-width: 768px) {
  .ReasonArea {
    flex-direction: column;
  }

  .ReasonContents {
	  padding: 8px;
    flex: 0 0 100%; /* 画面幅いっぱいを使う */
    margin-bottom: 20px; /* コンテンツ間のスペースを追加 */
  }
}

/***** Qa よくあるご質問コンテンツ *****/
.qa {
	background: #2644AC;
}
.qa .ContentsHead h2 {
    color: #FFF;
	filter: drop-shadow(2px 2px 1px #000);
}
.qa .toggle-content {
    background: #FFF;
	text-align: left;
	margin: auto;
}
.qa .toggleText {
	display: flex;
	color: #333;
	text-align: left;
    font-size: clamp(0.8rem, 2vw, 1.0rem);
}
.qa .toggleText .A {
	font-weight: 800;
}
.qa .toggleText p {
	margin: 0;
	text-align: left;
}

/***** ServiceFlow 流れコンテンツ *****/
/*ServiceFlow*/
.ServiceFlow {
	background: #f1fcff ;
	color: #333;
	position: relative;
}
.ServiceFlow .ContentsHead h2 {
    color: #2644AC;
}
/* 2つのコンテンツを横並びに配置 */
.ServiceFlowArea {
  display: flex;
  align-items: center; /* 画像とテキストの中央揃え */
  justify-content: space-between; /* コンテンツ間にスペースを追加 */
  flex-wrap: wrap; /* 画面が小さい時に縦並びにする */
}

/* 各コンテンツブロックのスタイル */
.ServiceFlowContents {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* 画像とテキストの中央揃え */
  flex: 0 0 calc(50% - 8px); /* 2つのコンテンツを横に並べ、左右に20pxの余白 */
  background-color: white;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px; /* 下にマージンを追加 */
  position: relative;
}
.ServiceFlowContents:nth-child(2n) {
	top: 40px;
}
/* 画像のスタイル */
.ServiceFlowImg {
	width: 38%;
}

/* テキスト側のスタイル */
.ServiceFlowTaxt {
	width: 62%;
  flex: 1;
  padding-left: 16px;
}

.ServiceFlowTaxt h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin: 0 auto 8px;
    position: relative;
    padding: 0 0 8px 0;
}
.ServiceFlowTaxt h3:first-letter {
    font-size: clamp(1.6rem, 3vw, 2rem);
  color: #2644AC;
}

.ServiceFlowTaxt p {
  font-size: clamp(0.7rem, 1vw, 1.0rem);
  margin: 0 auto 8px;
}
.Ribon {
    position: absolute;
    top: -10px;
    left: 20px;
	background-image: -webkit-gradient(linear, right top, left top, from(#4BB5EB), to(#4169e1));
    background-image: -webkit-linear-gradient(right, #4BB5EB 0%, #4169e1 100%);
    background-image: linear-gradient(to left, #4BB5EB 0%, #4169e1 100%);
    border-radius: 0 0 50px 50px;
}

.Ribon span {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    color: #FFF;
    font-size: clamp(1.3rem, 3vw, 3rem);
	font-weight: 800;
}

.Ribon:before {
  position: absolute;
  content: '';
}

.Ribon:before {
  right: -10px;
  width: 0;
  height: 0;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #4169e1;
}
/* レスポンシブ対応: 画面が小さい場合に縦並びに */
@media screen and (max-width: 768px) {
  .ServiceFlowArea {
    flex-direction: column;
  }

  .ServiceFlowContents {
	  padding: 8px;
    flex: 0 0 100%; /* 画面幅いっぱいを使う */
    margin-bottom: 20px; /* コンテンツ間のスペースを追加 */
  }
.ServiceFlowContents:nth-child(2n) {
	top: 0;
}
}

/***** Arealist 対応エリアコンテンツ *****/

.Arealist {
	background: #2644AC;
	color: #FFF;
	padding: 40px 0;
	position: relative;
  --badgeOffset: 16px;  /* 円の右下オフセット */
  --badgeSize:   28px;  /* 円の直径 */
  --iconSize:    14px;  /* 矢印の幅・高さ */
}
.Arealist .ContentsHead h2 {
	filter: drop-shadow(2px 2px 1px #333);
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    color: #FFF;
}
.Arealist .toggle-title {
	color:#2644AC;
}
.Arealist .toggle-content {
    background: #FFF;
	text-align: left;
}
/* ULにFlexboxを適用して横並びに */
.city-list {
  display: flex;
  flex-wrap: wrap; /* 必要に応じて折り返しを有効にする */
  list-style: none; /* デフォルトのリストマーカーを削除 */
  padding: 0;
  margin: 0;
  gap: 8px; /* 各要素の間にスペースを追加 */
}

/* LIのスタイル */
.city-list li {
  margin-bottom: 8px; /* 各アイテムの下に少しスペース */
}

/* リンクのスタイル */
.city-list a {
  text-decoration: none; /* 下線を削除 */
  color: #007acc; /* リンクの色を設定 */
  font-size: clamp(0.8rem, 2vw, 1.0rem); /* フォントサイズ */
  padding: 5px 10px; /* リンクの内側にパディング */
  border-radius: 4px; /* リンクを角丸にする */
  background-color: #f1f1f1; /* リンクの背景色 */
  transition: background-color 0.3s ease; /* ホバー時の背景色変化をアニメーション */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 軽い影で浮き上がらせる */
}

/* ホバー時のスタイル */
.city-list a:hover {
  background-color: #007acc; /* ホバー時に背景色を変更 */
  color: #FFF; /* ホバー時に文字色を白に */
}

/* 市区町村のエリアスタイル */
.town-list {
    display: flex;
    flex-wrap: wrap; /* 横並びで溢れた場合に折り返す */
    gap: 10px; /* 各要素の間隔 */
    list-style: none; /* リストのマーカーを消す */
    padding: 0;
    margin: 0;
    margin: 0 auto;
}

.town-list li {
    background-color: #f0f8ff; /* 背景色 */
    padding: 8px; /* 内側の余白 */
    border-radius: 8px; /* 角を丸く */
  font-size: clamp(0.8rem, 2vw, 1.0rem); /* フォントサイズ */
    color: #333; /* テキストの色 */
    text-align: center; /* テキストを中央揃え */
    box-sizing: border-box; /* パディングも幅に含める */
}

/***** Chishiki お役立ちコンテンツ *****/
.Chishiki {
	background-image: radial-gradient(#4BB5EB 2px, transparent 2px), radial-gradient(#4BB5EB 2px, #f1fcff 2px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
}
.ChishikiInner {
  margin: 20px 0;
}

.ChishikiList {
	display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: space-between;
}

.ChishikiItem {
  width: calc(50% - 20px); /* 2列表示で、間にマージンをつけるために計算 */
  margin: 10px; /* 各アイテムの間にマージンを設定 */
  box-sizing: border-box;
    background-color: #FFF;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
	position: relative;
	overflow: hidden;
}
.ChishikiItem a {
	padding: 16px 40px 16px 16px;
    overflow: hidden;
    display: block;
	transition: background-color 0.3s ease, transform 0.3s ease;
	text-decoration: none;
	color: #333;
}
.ChishikiItem a:hover {
	background: #CAF6F7;
	color: #2644AC;
}
.ChishikiItem a h3 {
	font-size: clamp(1.0rem, 2vw, 1.3rem);
    margin: 0;
}
.ChishikiItem a h3:before {
    content: "";
    position: absolute;
    top: 50%; /* 垂直中央に配置 */
    right: 16px; /* 右側に配置 */
    transform: translateY(-50%); /* テキストの高さに合わせて位置調整 */
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 13px solid #333;
    transition: border-left-color 0.3s ease; /* ホバー時の色変化にスムーズなトランジション */
}

/* ホバー時の矢印色変更 */
.ChishikiItem a:hover h3:before {
    border-left-color: #2644AC;
}
/* 小さな画面では1列表示に変更 */
@media (max-width: 768px) {
  .ChishikiItem {
    width: 100%;
  }
}

/***** Maker メーカーエリアコンテンツ *****/
.Maker {
	background: #2644AC;
	color: #FFF;
}
.Maker .ContentsHead h2 {
	filter: drop-shadow(2px 2px 1px #333);
    color: #FFF;
}
.MakerArea {
    width: 100%;
    overflow: hidden; /* コンテンツが外に出ないように隠す */
}

.MakerList {
    display: flex;
    width: max-content; /* リスト全体を一行にする */
    animation: slide-left 50s linear infinite; /* 10秒間で無限ループするアニメーション */
    position: relative; /* 最初から表示 */
}

.MakerList li {
    display: inline-block;
    margin-right: 20px; /* 各アイテム間に余白 */
}

.MakerList img {
    width: 200px; /* 画像の幅を指定 */
    height: auto; /* 画像の高さを自動調整 */
}

/* アニメーションの定義 */
@keyframes slide-left {
    0% {
        transform: translateX(0); /* スタート位置は画面内の最初 */
    }
    100% {
        transform: translateX(-100%); /* コンテンツが左に完全に流れる */
    }
}

/***** Covid ウイルス対策コンテンツ *****/
.Covid {
	background: #f1fcff;
}
.Covid .ContentsHead h2 {
    filter: drop-shadow(2px 2px 1px #4BB5EB);
	color: #4169e1;
}
.Covid ul {
  display: flex;
  align-items: center; /* 画像とテキストの中央揃え */
  justify-content: space-between; /* コンテンツ間にスペースを追加 */
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 0;
}
.Covid ul li {
display: flex;
  justify-content: space-between;
  align-items: center; /* 画像とテキストの中央揃え */
  flex: 0 0 calc(33.333% - 16px); 
  background-color: white;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}
/* 画像のスタイル */
.CovidImg {
	width: 35%;
}
.CovidTaxt {
	width: 65%;
	flex: 1;
	padding-left: 16px;
}
.CovidTaxt h3 {
	font-size: clamp(0.8rem, 1vw, 1.2rem);
    margin: 0 auto 8px;
    position: relative;
    background: #183494;
    padding: 8px;
    border-radius: 8px;
    color: #FFF;
}
.CovidTaxt h3:after {
    position: absolute;
    content: '';
    top: 100%;
    left: 16px;
    border: 8px solid transparent;
    border-top: 8px solid #183494;
    width: 0;
    height: 0;
}

.CovidTaxt p {
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  margin: 0 auto 8px;
}

/* レスポンシブ対応: 画面が小さい場合に縦並びに */
@media screen and (max-width: 768px) {
.Covid ul {
    flex-direction: column;
  }

.Covid ul li {
	  padding: 8px;
    flex: 0 0 100%; /* 画面幅いっぱいを使う */
    margin-bottom: 20px; /* コンテンツ間のスペースを追加 */
  }
}
