/*  footer  */

footer {
	max-width: 1440px !important;
    background-color: #ffffff; /* 背景を白に */
    color: #333; /* テキストの色を黒っぽく */
    padding: 20px 0; /* 上下の余白を追加 */
}

  .impression-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: #333;
    font-weight: bold;
    position: relative;
	padding-top: 5px;
  }
  .impression-text::before,
  .impression-text::after {
    content: "";
    display: inline-block;
    width: 20px; /* 線の長さ */
    height: 1px; /* 線の太さ */
    background-color: #333; /* 線の色 */
    margin: 0 3px;
  }

  .impression-text::before {
    transform: rotate(45deg); /* 左側の線を45度回転 */
  }

  .impression-text::after {
    transform: rotate(-45deg); /* 左側の線を45度回転 */
}

.p-snsIconList {
            list-style: none;
            display: flex;
            column-gap: 0.5em;
            margin: 10px;
            padding: 10px;
            align-items: center;
            justify-content: center;
}

.ad-insta {
		max-width: 50px;
	height: auto;
}
.parent-category a:hover {
	 color: #0073aa; /* 例：青色 */
}
.footer-content {
    display: flex;
    align-items: flex-start;
    background: #fff; /* 背景を白に */
    max-width: 100%;  /* フッターの最大幅を 90% に設定 */
    margin: 0 auto;  /* 中央揃え */
    padding: 20px 0; /* 上下の余白を調整 */
}

.footer-left {
    width: 25%; /* 左側3分の1 */
    display: flex;
    justify-content: center; /* 画像を中央配置 */
}

.footer-image {
    width: 90%;
    height: auto;
    max-height:130px; /* 画像の最大高さを指定 */
    object-fit: contain;
}

.footer-right {
    width: 75%; /* 右側3分の2 */
    padding-left: 20px;
}

.footer-heading {
    font-size: 15px;
    margin-bottom: 5px;
}

.footer-underline {
    width: 100%;
    height: 1.5px; /* 下線を少し細く */
    background-color: #ccc; /* 下線の色 */
    margin-bottom: 12px;
}

.footer-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* 通りカテゴリの間隔を広げる */
    font-size: 13px; /* 文字サイズを少し大きく */
    color: #333;
}

.footer-banners {
    margin-top: 20px;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列 */
    gap: 10px; /* バナー間の間隔 */
    max-width: 85%;  /* バナー部分も少し狭く */
    margin: 0 auto;  /* 中央揃え */
}

.banner-item {
    display: flex;
	 width: 225px !important;
    height: 75px !important;
    justify-content: center;
    align-items: center;
    background: #f8f8f8;
    padding: 1px;
    border-radius: 5px;
}

.banner-item img {
     width: 225px !important;
    height: 75px !important;
    max-height: 100px; /* バナーの高さを調整 */
    object-fit: contain;
}

/* バナー下の下線 */
.footer-divider {
    width: 100%;
    height: 2px;
    background-color: #ccc; /* 下線の色 */
    margin: 20px 0;
}

#backToTopBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1000;
    transition: background-color 0.3s;
}

#backToTopBtn:hover {
    background-color: #333;
}

@media screen and (max-width: 768px) {
    #backToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* 画像を左端に配置 */
.footer-image-section {
    display: flex;
    align-items: center;
    padding: 10px 0;
	margin: auto 30px;
}
.wp-block-page-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex !important; /* Flexbox を使用 */
  flex-wrap: wrap; /* 折り返しを許可 */
  justify-content: center; /* 中央寄せ */
}

.wp-block-page-list li {
  margin: 5px 10px; /* メニュー間のスペース */
}

.wp-block-page-list a {
  color: #000; /* 文字色 */
  text-decoration: none; /* 下線を削除 */
  font-weight: bold; /* 太字 */
}

.wp-block-page-list a:after {
  content: "›"; /* 画像に基づき中黒を追加 */
  margin-left: 5px;
}

.footer-logo-image {
    width: 300px; /* 画像のサイズ調整 */
    height: auto;
}
.bottomFooter {
background-color: white !important;
	color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}

.widgetFooter {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 0 0 20px 0;
}

.widgetFooter__box {
    text-align: left;
}

.widgetFooter__box img {
    margin-left: 0;
    margin-right: auto;
	display: block;align-content}

.divider {
	margin: 0 !important;
}
.l-footer {
    padding: 0px 20px;
}
@media screen and (max-width: 768px) {
	
	.footer-content {
    padding: 20px; /* 余白を調整 */
}
	.widgetFooter {
		flex-direction: column;
	}
	.single .l-footerTop .colored-articles {
		display: none;
	}
}

.l-footer {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0px 20px;
    background-color: #fff;
}

.footer-nav {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

.footer-menu {
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(2, auto);
    gap: 15px 30px;
    list-style: none;
    padding: 0;
    margin: 40px 0 0 0;
    text-align: left;
}

.footer-menu li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.footer-menu li a:hover {
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    margin-top: 30px;
    padding-bottom: 20px;
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
    color: #666;
}
@media screen and (max-width: 768px) {
    .banner-grid {
        grid-template-columns: repeat(2, 1fr); /* 2列に変更 */
        max-width: 95%; /* スマホではより幅広く使用 */
    }

    .banner-item {
        width: 90vw;
        max-width: 225px;
        min-width: 100px;
    }
    .banner-item img {
        max-width: 100vw;
        max-height: 33vw; /* 3:1比率を維持 */
    }
	
	.footer-content {
    padding: 20px; /* 余白を調整 */
}
	.widgetFooter {
		flex-direction: column;
	}
	.single .l-footerTop .colored-articles {
		display: none;
	}
}
	.widgetFooter {
        padding-bottom: 0;
}
.l-footer {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0px 20px;
    background-color: #fff;
}

.footer-nav {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

.footer-menu {
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(2, auto);
    gap: 15px 30px;
    list-style: none;
    padding: 0;
    margin: 40px 0 0 0;
    text-align: left;
}

.footer-menu li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.footer-menu li a:hover {
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    margin-top: 30px;
    padding-bottom: 20px;
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

@media screen and (max-width: 768px) {
    .widgetFooter {
        flex-direction: column;
        padding: 15px;
    }

    .widgetFooter__box,
    .footer-nav {
        width: 100%;
    }

    .footer-nav {
        margin-top: 20px;
        padding-right: 0;
    }

    .footer-menu {
        grid-template-columns: repeat(2, auto);
        grid-template-rows: repeat(3, auto);
        gap: 12px 20px;
        width: 100%;
    }

    .footer-menu li a {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
	footer {
		padding-bottom: 20px;
	}
	.widgetFooter__box {
    max-height: 60px;
}
	.l-footer {
    padding-top: 0px;
}
	.widgetFooter {
        padding-top: 0;
}
}
@media screen and (max-width: 500px) {
 .banner-grid {
        grid-template-columns: repeat(1, 1fr); /* 1列に変更 */
	}
}