@charset "utf-8";

/* 内部リンク調整 */
:target::before {
  content: "";
  display: block;
  height: 148px; /* ヘッダーの高さに合わせて調整 */
  margin-top: -148px; /* ヘッダーの高さ分をマイナスにして位置を調整 */
}

/* 共通タイトル基準 */
.ContentsHead {
	text-align: center;
	margin: auto;
}
.ContentsHead h2 {
    filter: drop-shadow(2px 2px 1px #FFF);
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    margin: 40px auto 24px;
    color: #333;
}
.ContentsHead h2 span {
    font-size: clamp(1.0rem, 2vw, 2.0rem);
    display: block;
}
.ContentsHead p {
    font-size: clamp(0.9rem,2vw,1.2rem);
	xtext-align: left;
	margin: 24px auto;
	max-width: 780px;
	font-weight: 700;
}

/* 共通コンテンツ */
section {
    padding: 40px 0;
    position: relative;
}
.Contents {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
	position: relative;
}
.CommonBox {
	margin-top: 16px;
	padding: 16px;
	background: #f3f3f3;
	border: 3px solid #2644AC;
	border-radius: 8px;
}
.CommonBox p {
	margin: 0;
	color: #333;
}
@media (max-width: 1023px) {
/* 共通コンテンツ */
.Contents {
	max-width: 100%;
}
}

/* 共通テキスト */
.ann {
	font-size: 12px;
}
span.marker {
    background: linear-gradient(transparent 70%, #FFEB3B 70%);
}
/*共通BG*/
.Bg1 {
	background: #FFFFFF;
}
.BgS {
    position: relative;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-size: cover;
}
.Hbg03::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-image: url(https://tamashi.hptest.work/wp-content/themes/agarlup00/img/bg01.jpg);
    background-size: cover;
}

/* 共通 注釈ボックス */
.AnnBox {
  margin-top: 16px;
  padding: 0 16px;
  background: #f1fcff;
  border: 3px solid #2644AC;
  border-radius: 8px;
  font-size: 12px; /* フォントサイズを12pxに */
  max-height: 72px; /* 縦幅を最小限に設定 */
  overflow-y: auto; /* 縦方向にスクロールを許可 */
  color: #333;
}

.AnnBox p {
  margin: 0;
  line-height: 1.5; /* 行間を少し広げて読みやすく */
}

/* 共通アクションコンテンツ */
.Action {
	xbackground: #f1fcff;
	padding: 40px 0;
}
.ActArea{
	background-color: #F7E051;
    box-shadow: 0 0 9px rgba(0, 0, 0, .34);
    border-radius: 5px;
    padding: 24px;
    position: relative;
}
.ActBox {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
	margin-bottom: 16px;
}
.ActCoupon {
	width: 20%;
}
.ActButton {
	width: 60%;
    padding: 0 16px;
}
.ActButton a {
    transition: all 0.3s ease;
	display: block;
}
.ActButton a:hover {
	transform: translateY(-2px);
}
.ActButton2 {
    display: flex;
	justify-content: space-between;
}
.ActButton2 a {
	max-width: 49%;
}
.ActFhoto {
	width: 20%;
}
@media (max-width: 680px) {
.ActArea {
    padding: 8px;
}
.ActBox {
flex-wrap: wrap;
}
.ActCoupon {
	width: 100%;
}
.ActButton {
	width: 100%;
    padding: 0;
}
.ActFhoto {
	display: none;
}

}

/* 下部追尾ボタン */
#sticky-footer {
    position: fixed;
    bottom: -100px; /* 初期状態で隠しておく */
    width: 100%;
    background-color: #333;
    padding: 8px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: bottom 0.5s ease; /* スライドの動きをスムーズに */
    visibility: hidden; /* 初期状態で非表示 */
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
}
.footer-content a {
    line-height: 0;
    display: block;
}

.footer-content a img {
    padding: 0 8px;
}

/* 横幅が768px以下のときに表示 */
@media screen and (max-width: 480px) {
    #sticky-footer {
        visibility: visible;
    }
}



/* 共通toggleスタイル */
.toggle-title {
  cursor: pointer;
  background: #FFF;
  color: #2644AC;
  padding: 16px 24px 16px 8px;
  border-radius: 5px;
  margin: 8px auto 0;
	font-size: clamp(1.0rem, 1.6vw, 1.6rem);
  position: relative;
}

.toggle-icon {
	position: absolute;
    right: 2%;
    font-size: clamp(1.4rem, 2.5vw, 2.5rem);
    font-weight: bold;
    padding-left: 8px;
    top: 50%;
    transform: translateY(-50%);
}
.toggle-content {
	position: relative;
    top: -5px;
  padding: 16px;
  display: none; /* デフォルトでは非表示 */
}
/* トグルコンテンツのテーブル-レスポンシブ */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFF;
  color: #333;
}

.responsive-table th,
.responsive-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

.responsive-table thead {
  background-color: #2ea2cc;
  color: #FFF;
}

.toggle-content {
  overflow-x: auto; /* 横スクロールを可能に */
}
@media (max-width: 680px) {
.responsive-table th,
.responsive-table td {
    font-size: 14px; /* 小さいデバイス向けにフォントサイズを調整 */
    padding: 8px;
}
}

/* 共通お支払いpayment */
.Payment {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
}
.Payment .PayList {
    flex: 0 0 calc(50% - 8px);
    background-color: #f1fcff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
    position: relative;
}
.Payment .PayList p {
	font-size: clamp(0.9rem, 1.0vw, 1.0rem);
}
@media screen and (max-width: 680px) {
.Payment .PayList {
    flex: 100%;
	padding: 8px;
}
}
/****** 施工事例スライド ******/
.Results {
    background-image: radial-gradient(#4BB5EB 2px, transparent 2px), radial-gradient(#4BB5EB 2px, #f1fcff 2px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
}

.Results .swiper-horizontal {
	padding-bottom: 6px;
}
.Results .swiper-container {
  width: 100%;
  height: 300px; /* 高さは調整できます */
}

.Results .swiper-slide {
	background-color: #fff;
    box-shadow: 0 0 9px rgba(0, 0, 0, .34);
    border-radius: 5px;
    position: relative;
	color: #333;
}
.Results .swiper-inner {
	padding: 16px;
}
.Results .swiper-inner h3 {
	margin: 0 auto 10px;
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    line-height: 1.0;
}
.Results .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;
}
.Results .swiper-inner p {
	margin: auto;
    font-size: clamp(0.8rem, 1.0vw, 1.0rem);
}
.Results .article-thumbnail img {
  width: 100%; /* 幅をコンテナに合わせる */
  height: 200px; /* 高さを固定 */
  object-fit: cover; /* 画像の比率を保ちながら高さに合わせてクロップ */
  border-radius: 5px 5px 0 0;
}
/* タグのスタイル */
.Results .article-tags {
  margin-top: 10px;
}

.Results .article-tags .tag-label {
  font-weight: bold;
  color: #007acc;
}

.Results .article-tags a {
    display: inline-block;
    background-color: #4BB5EB;
    color: #FFF;
    padding: 0px 5px 2px;
    border-radius: 4px;
    text-decoration: none;
    font-size: clamp(0.7rem, 1vw, 0.8rem);
}

.Results .article-tags a:hover {
  background-color: #007acc;
  color: #ffffff;
}
@media (max-width: 680px) {
.Results .article-thumbnail img {
  height: 150px; /* 高さを固定 */
}
}
