@charset "utf-8";
/*------------------------------------------------------------------------------
**
**	
**	家づくりコラム　column
**	
**  1. 一覧
**  2. 詳細
**
**
------------------------------------------------------------------------------*/

.sp {
  display: none;
}

.pc {
  display: inline-block;
}

@media only screen and (max-width: 767px) {
  .sp {
    display: inherit;
  }

  .pc {
    display: none;
  }
}
.news_title {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
}
/*==============================
**  1. 一覧
==============================*/

/* 方眼　背景 */
.archive-column-area {
  background-image: url(../img/all/bg_check.png);
  background-size: 960px;
  background-position: center;
  padding: 10px 0 50px;
}

/* 800px */
.archive-column-inner {
  margin: 0 auto;
  position: relative;
  width: 800px;
}

/* 黄色　三角部分 */
.archive-column-inner::before {
  background-image: url(../img/column/column_yellow_top.png);
  background-repeat: no-repeat;
  background-size: cover;
  content: '';
  display: block;
  height: 227px;
  width: 800px;

}

/* 黄色　下部分 */
.archive-column-inner::after {
  background-image: url(../img/column/column_yellow_bottom.png);
  background-repeat: no-repeat;
  background-size: cover;
  content: '';
  display: block;
  height: 37px;
  width: 800px;
}

/* コラム　ページタイトル */
.column-title {
  color: #0c2f54;
  font-size: 14px;
  font-weight: 700;
  position: absolute;
  top: 100px;
  right: 240px;
  display: flex;
  gap: 20px;
  align-items: center;
  border-bottom: 2px solid #0c2f54;
  max-width: 350px;
  margin: 0 auto;
}

/* イエティとつるみー */
.column-title .icon {
  background-image: url(../img/column/yeti_tsurumii.svg);
  background-repeat: no-repeat;
  background-size: cover;
  content: '';
  display: block;
  height: auto;
  /* position: absolute;
	top: -16px;
	left: -143px; */
  width: min(116px, 25vw);
  aspect-ratio: 116/100;
}

/* 紺色のバー */
/* .column-title::after {
	background-color: #0c2f54;
	content: '';
	display: block;
	height: 2px;
	position: absolute;
	bottom: -23px;
	left: -155px;
	width: 376px;
} */

.column-title-marker {
  color: #0c2f54;
  display: block;
  font-size: clamp(24px, calc(20.72px + 0.72vw), 28px);
  font-weight: 500;
  position: relative;
  z-index: 1;
  padding: 0 0.6em 0 0.3em;
  margin-left: -0.3em;
}

/* 白マーカー */
.column-title-marker::after {
  background-color: #ffffff;
  content: '';
  display: block;
  height: 12px;
  /* padding-left: 10px;
	padding-right: 25px; */
  position: absolute;
  bottom: 3px;
  /* left: -10px; */
  width: 100%;
  z-index: -1;
}

/* 記事（メニュー・現在のカテゴリー 含む） */
.column-article-container {
  /* 黄色　背景 */
  background-color: #FFF1C2;
  margin: 0 auto;
  position: relative;
}

.column-article-inner {
  margin: 0 auto;
  padding: 50px 0 0;
  width: 650px;
}

/* カテゴリーメニュー */
.column-cate-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: -2rem auto 0;
  width: 650px;
  gap: 0.2em 1em;
}

/* フォントスタイルなど */
.column-cate-menu-link,
.column-cate-menu li {
  color: #0c2f54;
  /* display: block; */
  font-weight: 500;
  /* margin: 0 13px; */
  z-index: 1;
}

.cate-menu-link-marker {
  position: relative;
  z-index: 1;
}

/* ＃マーク */
.column-cate-menu .current-cat a::before,
.post-type-archive-column .cat-item-all a::before {
  content: '＃';
  z-index: 10;
}

/* 白マーカー */
.column-cate-menu .current-cat a,
.post-type-archive-column .cat-item-all a {
  padding: 0 4px;
  width: 100%;
  background: linear-gradient(transparent 60%, #FFF 0%);
}

/* 現在のカテゴリー */
.current-cate {
  border-bottom: solid 1px #0c2f54;
  color: #0c2f54;
  letter-spacing: 0.05em;
  margin: 20px 0;
  padding-bottom: 6px;
}

/* フォントスタイルなど */
.current-cate-name {
  font-size: 18px;
  font-weight: 500;
  margin: 0 3px;
}

@media only screen and (max-width:800px) {
  .archive-column-area {
    background-color: #FFF1C2;
    background-image: none;
    padding-top: 30px;
    width: 100%;
  }

  .archive-column-inner {
    width: 90%;
  }

  .archive-column-inner::before,
  .archive-column-inner::after {
    display: none;
  }

  .column-title {
    position: static;
    text-align: center;
  }
  /* 
	.column-title::before {
		margin: 0 auto;
		position: static;
	}

	.column-title::after {
		display: none;
	}

	.column-title-marker {
		font-size: 24px;
	}

	.column-title-marker::after {
		height: 14px;
		margin: 0 auto;
		bottom: -2px;
		left: 0;
		right: 0;
		min-width: 165px;
		width: 40%;
	} */

  .column-article-inner {
    padding: 22px 0 0;
    width: 100%;
  }

  .column-cate-menu {
    margin: 0 auto 35px;
    width: 100%;
  }

  .column-cate-menu-link,
  .column-cate-menu li {
    font-size: 14px;
    margin: 0 5px;
  }
}





/*----- 記事一覧 -----*/
.column-wrapper {
  margin: 0 auto;
  padding-bottom: 25px;
}

.column-list {
  border-bottom: solid 1px #6780AD;
  display: -ms-flex;
  display: -webkit-flex;
  display: flex;
  padding-bottom: 15px;
}

.column-list:not(:last-child) {
  margin-bottom: 25px;
}

.column-article-link,
.column-date {
  color: #6780AD;
  display: block;
}

/* 記事メインイメージ */
.column-main-pic {
  width: 180px;
}

.column-main-pic-link {
  display: block;
  height: 0;
  overflow: hidden;
  padding-bottom: 66.5%;
  position: relative;
  width: 100%;
}

.column-main-pic-img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
}

/* テキスト側 */
.column-txt-container {
  margin-left: 20px;
  width: calc(100% - 180px - 20px);
}

/* 日付 & ターム名 */
.txt-info-box {
  display: -ms-flex;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  line-height: 1;
  margin-bottom: 13px;
}

/* 日付 */
.column-date {
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-right: 18px;
}

/* ターム名 */
.column-term-link {
  background-color: #6780AD;
  border-radius: 6px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  padding: 2px 7px 1px;
  margin-right: 0.2em;
}

/* タイトル */
.column-article-title {
  font-size: 20px;
  font-weight: 500;
  margin: 0 auto 10px;
}

/* 最終更新日 */
.single-contents .date-update{
  line-height: 1;
  margin: 0;
  font-size: 0.8rem;
}

/* 記事内イメージ */
.single-contents img {
  margin: 20px auto;
}

/* 記事内　タイトル*/
.single-contents h2,
.single-contents h3,
.single-contents h4 {
  margin: 1em 0 0.8em;
  font-weight: 600;
}
.single-contents h2 {
  font-size: 22px;
  border-left: 3px solid #0c2f54;
  padding: 0.4em 0 0.2em 0.5em;
}
.single-contents h3 {
  font-size: 20px;
  border-top: 2px solid #0c2f54;
  border-bottom: 2px solid #0c2f54;
  padding: 0.6em 0 0.3em;
}
.single-contents h4 {
  font-size: 18px;
  text-indent: -1.4em;
  padding: 0 0 0 1.4em;
}
.single-contents h4::before {
  content: '';
  display: inline-block;
  background-color: currentColor;
  vertical-align: -.2em;
  height: 1.1em;
  width: 1.1em;
  margin-right: 0.2em;

  -webkit-mask: url(../img/icon/icon-arrow.svg) center/contain no-repeat;
  mask: url(../img/icon/icon-arrow.svg) center/contain no-repeat;
}

.single-contents p {
  margin: 0.3em 0;
}

.single-contents a {
  border-bottom: 1px solid currentColor;
}
.single-contents .toc-list a {
  border-bottom: none;
}

/*--- pagination ---*/

/* .pager-wrapper {} */


@media only screen and (max-width: 767px) {
  .column-wrapper {
    margin: 0 auto 20px;
  }

  .column-list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-bottom: 0;
  }

  .column-list:not(:last-child) {
    margin-bottom: 20px;
  }

  .column-main-pic,
  .column-txt-container {
    width: 100%;
  }

  .column-main-pic {
    margin-bottom: 10px;
  }

  .column-main-pic-link {
    padding-bottom: 55%;
  }

  .column-txt-container {
    margin-left: 0;
    margin-bottom: 20px;
  }

  .txt-info-box {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .column-term-link {
    font-size: 12px;
  }

  .column-article-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .pager-wrapper {}
}





/*==============================
**  2. 詳細
==============================*/
/* 方眼　背景 */
.single-column-article {
  background-image: url(../img/all/bg_check.png);
  background-size: 960px;
  background-position: center;
  padding: 30px 0 50px;
}

.single-column-common-inner {
  background-color: #ffffff;
  margin: 0 auto;
  padding: 65px 0 40px;
}

.column-title-container {
  margin: 0 auto 100px;
  position: relative;
  width: 376px;
}

/* タイトルまわり　調整 */
.main_single-column .column-title {
  margin: 0 auto;
  /* padding-right: 26px; */
  position: static;
  /* text-align: right; */
}

/* 白マーカー */
.main_single-column .column-title-marker {
  display: inline-block;
}

.main_single-column .column-title-marker::after {
  background-color: #FFF1C2;
  right: 0;
  /* left: -10px; */
}

/* .main_single-column .column-title::before,
.main_single-column .column-title::after {
	left: 0;
} */

.single-article-container {
  color: #0c2f54;
  margin: 0 auto 85px;
  width: 650px;
  line-height: 1.8;
}

.main_single-column .column-date {
  color: #0c2f54;
}

.column-single-title {
  border-bottom: solid 1px #0c2f54;
  font-size: 28px;
  font-weight: 500;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.column-single-txt {
  font-size: 18px;
  line-height: 1.7;
  padding: 15px 0 20px;
}

.column-single-pic {
  padding: 20px 0;
}

.column-single-pic-img {
  width: 100%;
}

.single-pager-wrapper {
  display: -ms-flex;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding-top: 40px;
}

.single-pager-link {
  color: #6780AD;
  font-size: 14px;
}

/* 関連記事 */
.column-relate-article {
  margin: 0 auto;
  max-width: 960px;
}

.column-relate-article-title {
  border-bottom: solid 1px #0c2f54;
  color: #0c2f54;
  font-size: 20px;
  font-weight: 500;
  font-feature-settings: 'palt';
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  padding-bottom: 2px;
  text-align: center;
}

.relate-article-wrapper {
  display: -ms-flex;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.relate-article-list {
  width: calc((100% - 150px) / 4);
}

.relate-article-link {
  display: block;
  width: 100%;
}

.relate-article-main-pic {
  height: 0;
  margin-bottom: 10px;
  overflow: hidden;
  padding-bottom: 70%;
  position: relative;
  width: 100%;
}

.relate-article-main-pic-img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
}

.column-relate-article .column-date {
  color: #6780AD;
  font-size: 14px;
  margin-right: 14px;
}

.column-relate-article .column-cate-box {
  background-color: #6780AD;
  border-radius: 5px;
  color: #ffffff;
  font-size: 12px;
  padding: 2px 5px;
}

.relate-article-title {
  color: #6780AD;
  font-size: 15px;
  line-height: 1.4;
}

.relate-article-title-txt {
  margin-right: 15px;
}

.relate-more-txt {
  display: inline-block;
  font-size: 10px;
}
@media only screen and (max-width: 1400px) {

  .column-relate-article .txt-info-box {
    margin-bottom: 6px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .column-relate-article {
    width: 100%;
  }

  .relate-article-list {
    width: calc((100% - 90px) / 4);
  }
  .column-relate-article-title {
    margin-bottom: 25px;
    padding-bottom: 20px;
  }

  .relate-article-main-pic {
    padding-bottom: 55%;
  }

  .column-relate-article .column-date {
    margin-right: 0;
    margin-bottom: 6px;
  }

  .relate-article-title {
    height: 41px;
    overflow: hidden;
  }
}
@media only screen and (max-width: 1000px) {
  .column-relate-article {
    width: 100%;
  }

}

@media only screen and (max-width: 767px) {
  .single-column-article {
    background-image: none;
    padding: 30px 0;
  }

  .single-column-common-inner {
    background-color: transparent;
    padding: 0;
  }

  .column-title-container {
    margin: 0 auto 40px;
    width: 100%;
  }

  .main_single-column .column-title {
    padding-right: 0;
    text-align: center;
  }

  .main_single-column .column-title-marker {
    display: block;
  }

  .main_single-column .column-title-marker::after {
    left: 0;
  }

  .single-article-container {
    margin: 25px auto 62px;
    width: 100%;
  }

  .single-column-article .txt-info-box {
    margin-bottom: 20px;
  }

  .column-single-title {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 15px;
  }

  .column-single-txt {
    font-size: 16px;
    line-height: 1.6;
  }


  .relate-article-list {
    width: calc((100% - 14px) / 2);
  }

  .relate-article-list:nth-child(n+1):nth-child(-n+2) {
    margin-bottom: 25px;
  }

  .relate-more-txt {
    display: none;
  }
}


.single-contents {
  ul:not([class]) {
    margin: 1em 0;
    padding-left: 40px;
    list-style-type: disc;
    ul, ol {
      margin-top: 0.5em;
    }
  }
  ol:not([class]) {
    margin: 1em 0;
    padding-left: 40px;
    list-style-type: decimal;
    ul, ol {
      margin-top: 0.5em;
    }
  }
  hr {
    border-top: solid 1px #999;
    margin: 2em 0;
    display: block;
  }
  .kakomi {
    background: rgba(103, 128, 173, 0.1);
    border: 1px solid #6780AD;
    margin: 1em 0;
    padding: 1em;
    border-radius: 5px;
  }
}

.single-contents {
  th, td {
    border: solid 1px;
    padding: 0.5em 0.3em 0.3em 0.3em;
    line-height: 1.2;
  }
  th {
    font-weight: 800;
  }
  table {
    border-collapse: collapse;
    margin: 1em 0;
  }
}





/*------------------------------------------------------------
**	モーダル用
------------------------------------------------------------*/

.js-modal {
  display: none;
  position: fixed;
  z-index: 5;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: all 1s ease-in-out;

  /* 背景なし */
  .js-modal-floatcontent {
    position: relative;
    width: 90%;
    max-width: 750px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: modalshow 0.6s linear 0s;
    text-align: center;
  }

  /* 背景閉じるボタンあり */
  .js-modal-content {
    position: relative;
    background: white;
    overflow-y: auto;
    padding: 20px 25px;
    width: 90%;
    max-width: 700px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: modalshow 0.6s linear 0s;
    filter: drop-shadow(0px 2px 6px #777);
    .js-modal-close {
      position: absolute;
      top: 0;
      right: 0;
      width: 30px;
      height: 30px;
      cursor: pointer;
      z-index: 1001;
    }
    .js-modal-close::before,
    .js-modal-close::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 2px;
      height: 30px;
      background: #333;
    }
    .js-modal-close::before {
      transform: translate(-50%, -50%) rotate(45deg);
    }
    .js-modal-close::after {
      transform: translate(-50%, -50%) rotate(-45deg);
    }
  }
}

@keyframes modalshow {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}





.single-column .yeloow-btn {
  background: #ffdf46;
  color: #26678b;
  padding: 15px 35px;
  text-decoration: none;
  font-size: 1.3em;
  border-radius: 5px;
  font-weight: bold;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, color 0.3s;
  border: none;
  height: 60px;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin: 0 auto;
}


.column-btnwrap {
  .title {
    display: inline;
    font-size: clamp(18px, 1vw + 1rem, 24px);
    color: white;
    border-bottom: 1px solid white
  }

  .shop-list {
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
  }

  .shop-list li {
    width: calc((100% - 50px)/3);
  }

  .shop-list li a {
    color: var(--color-main);
    font-size: clamp(18px, 1vw + 1rem, 24px);
    font-weight: 700;
    background: white;
    border-radius: 8px;
    box-shadow: 5px 5px 10px rgba(var(--color-000-rgb), .3);
    height: 3.8em;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .shop-list li a span {
    font-weight: bold
  }
}




/* 本記事でわかること */
.single-column .summary-box {
  background-color: #f0f8ff;
  border-left: 5px solid #26678B;
  padding: 1.5em 1em;
  margin: 1rem 0;
  .title {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2;
  }
}
.single-column .summary-box ul {
  margin: 0.5em 0 0;
  padding-left: 1.8em;
}

/* フッター非表示 */
.single-column #footerFixNav2 {
  display: none;
}



/* 囲み、ボタン　無料で賢い家づくりを始めよう！ */
.single-column {
  .box01 {
    background-color: #e6f0f5;
    border: 2px solid #26678B;
    padding: min(25px, 6vw);
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  }
  .box01 .btn-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
  }
  .box01 .btn-wrap .btn {
    background: #ffdf46;
    color: #26678b;
    font-size: 1.1em;
    border-radius: 5px;
    font-weight: 700;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
  }

  .box01 .title {
    color: #26678b;
    margin-top: 0;
    font-size: min(1.8em, 7vw);
    font-weight: 700;
    margin: 0 0 0.5em;
    display: inline-block;
    position: relative;
    padding-inline: 0.6em;
  }
  .box01 .title::before,
  .box01 .title::after {
    content: "";
    height: 100%;
    width: 2px;
    background-color: currentColor;
    position: absolute;
    top: 0;
  }

  .box01 .title::before {
    left: 0;
    transform: rotate(-25deg);
  }
  .box01 .title::after {
    right: 0;
    transform: rotate(25deg);
  }
}

@media only screen and (min-width: 768px) {
  .single-column {
    .box01 .btn-wrap .btn {
      width: 40%;
      max-width: 400px;
      min-width: 280px;
    }
  }
}
@media only screen and (max-width: 767px) {
  #main{
  padding-top: 100px;
  }
  .single-column {
    .box01 .btn-wrap .btn {
      width: 100%;
    }
  }
}



/* youtube埋め込み */
.video_16_9{
  width:100%;
  margin-inline:auto; /* 中央寄せ */
  aspect-ratio: 16 / 9; /* アスペクト比を宣言 */
  background:#000;
  overflow:hidden;
}
.video_16_9 > iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}
