@charset "utf-8";

/***** 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: 40px 0;
	text-align: center;
	margin: auto;
}
.CompliaTaxt {
	border: 6px solid #2644AC;
    border-radius: 10px;
    padding: 24px 24px 0;
    text-align: left;
}
.CompliaTaxt dt {
	position: relative;
    padding: 0 0 8px 0;
    border-bottom: 3px solid #4BB5EB;
    font-size: clamp(1.2rem, 2.8vw, 2rem);
	margin-bottom: 24px;
}

.CompliaTaxt dt::before,
.CompliaTaxt dt::after {
    position: absolute;
    left: 30px;
    bottom: -15px;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.CompliaTaxt dt::before {
    background-color: #4BB5EB;
}

.CompliaTaxt dt::after {
    bottom: -11px;
    background-color: #fff;
}
.CompliaTaxt dd {
    margin: 0 0 24px 0;
}

/***** 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 (max-width: 680px) {

.AccountBox {
    padding: 16px;
}
ul.AccountArea1 {
    margin: 0 auto 16px;
}
.AccountArea1 li {
	margin: 0 2.5% 8px;
    min-width: 45%;
}
.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;
}
/* 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 h3 {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    margin: 0 auto 24px;
    position: relative;
    background: #CAF6F7;
    padding: 8px;
    border-radius: 8px;
}
.ReasonTaxt h3: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;
}
.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;
}
.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; /* コンテンツ間のスペースを追加 */
  }
}
