@charset "utf-8";

:root {
  --space-xxxl:88px; /* セクションのgap */
  /* 80px */
  --space-xxl: 72px; /* サブセクションのgap */
  /* 64px */
  --space-xl:  56px; /* 大きいコンテンツの上下マージン */
  --space-lg:  48px; /* コンテンツのgap */
  /* 40px */
  --space-md:  32px;/* ≒ 2em */ /* 写真、サブコンテンツのgap */
  --space-sm:  24px;/* ≒ 1.5em */
  --space-xs:  16px;/* ≒ 1em */ /* 小さい写真のgap */
  --space-xxs:  8px;
}

@media only screen and (max-width: 738px) {

  :root {
    --space-xxxl: min(calc(80 / 375 * 100vw), 88px);
    /* 48px */
    --space-xxl: min(calc(64 / 375 * 100vw), 72px);

    --space-xl: min(calc(48 / 375 * 100vw), 56px);
    --space-lg: min(calc(40 / 375 * 100vw), 48px);
    /* 32px */
    --space-md: min(calc(24 / 375 * 100vw), 32px);
    --space-sm: min(calc(16 / 375 * 100vw), 24px);
    --space-xs: min(calc(12 / 375 * 100vw), 16px);/* ≒ 1em */
    --space-xxs: min(calc(8 / 375 * 100vw), 8px);
  }

}

:root {
  --body-mt: 96px;

  --sub-section-gap: 72px;

  --sub-section-gap-after-text: calc(var(--sub-section-gap) - 8px); /* 最後の要素がテキストだったらline-height分の余白を削除 */
  --section-gap: calc(88px - var(--sub-section-gap)); /* flow-rootでmarginの相殺が効かないので、--sub-section-gapとの合計で88pxとなるようにする */

  --margin-section: 88px; /* --section-gapの調整ない版 */
  --margin-sub-section: var(--sub-section-gap);

  --margin-sub-title: calc(32 / 20 * 1em);
  
  --object-margin-lg: 56px;
  --object-margin: 48px;
  --object-margin-sm: 32px;
  --object-margin-xs: 24px;
  --object-margin-xxs: 16px;

  --object-padding: 48px;
  --object-padding-sm: 32px;
  --object-padding-xs: 24px;
  
}

@media only screen and (max-width: 738px) {

  :root {
    
    --section-gap: calc(56 / 375 * 100vw);
    --sub-section-gap: calc(40 / 375 * 100vw);

    --margin-section: var(--section-gap);

    --margin-sub-title: calc(22 / 17 * 1em);

    --object-margin-lg: min(calc(40 / 375 * 100vw), 56px);
    --object-margin: min(calc(32 / 375 * 100vw), 40px);
    --object-margin-sm: min(calc(16 / 375 * 100vw), 40px);
    --object-margin-xs: min(calc(12 / 375 * 100vw), 40px);
    
    --object-padding: min(calc(24 / 375 * 100vw), 40px);
    --object-padding-sm: min(calc(16 / 375 * 100vw), 32px);
    --object-padding-xs: min(calc(8 / 375 * 100vw), 24px);

  }

}

html {
  scroll-behavior: smooth;
}

#content {
  padding-left: 48px;
  padding-right: 48px;
}

.thinkHouse__article {
  /* windowの游ゴシックをやめる */
  font-family: sans-serif;
}

@media only screen and (max-width: 738px) {

  #content {
    padding-left: calc(24 / 375 * 100vw);
    padding-right: calc(24 / 375 * 100vw);
  }

}

/*
----------------------------- utility -----------------------------
*/

/* layout */

.thinkHousePage .float-clear {
  clear: both !important;
}

.block {
  display: block !important;
}

.inline-block {
  display: inline-block !important;
}

.thinkHousePage .align-items-top {
  align-items: flex-start !important;
}

.thinkHousePage .flex-1-1-auto {
  flex: 1 1 auto !important;
}

.thinkHousePage .grow {
  flex-grow: 1 !important;
}

/* display */

.flow-root {
  display: flow-root !important;
}

.flex {
  display: flex !important;
}

.contents {
  display: contents !important;
}

@media only screen and (min-width: 576.02px) {

  .sm\:flex {
    display: flex !important;
  }

}

@media only screen and (min-width: 738.02px) {

  .md\:inline-block {
    display: inline-block !important;
  }

  .md\:block {
    display: block !important;
  }

  .md\:flex {
    display: flex !important;
  }

  .md\:flow-root {
    display: flow-root !important;
  }

}

@media only screen and (min-width: 1024.02px) {

  .lg\:inline-block {
    display: inline-block !important;
  }

  .lg\:block {
    display: block !important;
  }

  .lg\:flex {
    display: flex !important;
  }

  .lg\:flow-root {
    display: flow-root !important;
  }

}

/* layout */

.float-left {
  float: left !important;
}

.float-right {
  float: right !important;
}

@media only screen and (min-width: 738.02px) {

  .md\:float-left {
    float: left !important;
  }
  
  .md\:float-right {
    float: right !important;
  }

}

/* flex */

/*
  .thinkHouse__flex
  .thinkHouse__flex--figs

  上下のmarginを var(--space-lg)、
  gap: var(--space-md) で横並びにする。
  スマホのときは、gap: var(--space-md)で縦に積む。

  .thinkHouse__flex--figsは、
  figcaptionがある.thinkHouse__figを横並びにするときに使う。

  .thinkHouse__flexとは、スマホのときのgapが違う。
  figcaptionの上下余白だけになる。

*/

.thinkHouse__flex, 
.thinkHouse__flex--figs {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
}

.thinkHouse__flex {
  gap: var(--space-md);
}

.thinkHouse__flex--figs {
  column-gap: var(--space-md);
}

.thinkHousePage img + figcaption:not([class]) {
  margin-top: .4em;
}

@media only screen and (max-width: 738px) {

  .thinkHouse__flex--figs .thinkHouse__fig figcaption {
    margin-bottom: 1em;
  }

}

@media only screen and (min-width: 738.02px) {

  .thinkHouse__flex, 
  .thinkHouse__flex--figs {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
  }

}

/*

.thinkHouse__flex--img



*/

.thinkHouse__flex--img-left,
.thinkHouse__flex--img-right {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
}

:where(.thinkHouse__flex--img-left, .thinkHouse__flex--img-right) 
.thinkHouse__img {
  margin-bottom: var(--space-xl);
}

@media only screen and (min-width: 738.02px) {

  .thinkHouse__flex--img-left,
  .thinkHouse__flex--img-right {
    display: flex;
    gap: var(--space-lg);
  }

  .thinkHouse__flex--img-right {
    flex-direction: row;
  }

  .thinkHouse__flex--img-right {
    flex-direction: row-reverse;
  }

  .thinkHouse__img {
    margin: 0;
    flex: 0 0 auto;
    max-width: calc(400 / 950 * 100%);
  }

}

.flex-col {
  flex-direction: column !important;
}

.flex-row-reverse {
  flex-direction: row-reverse !important;
}

.flex-col-reverse {
  flex-direction: column-reverse !important;
}

.justify-start {
  justify-content: flex-start !important;
}

.justify-between {
  justify-content: space-between !important;
}

.items-stretch {
  align-items: stretch !important;
}

.items-start {
  align-items: flex-start !important;
}

.items-center {
  align-items: center !important;
}

@media only screen and (min-width: 738.02px) {

  .md\:flex-row-reverse {
    flex-direction: row-reverse !important;
  }

  .md\:items-center {
    align-items: center !important;
  }

}

/* order */

.order-1 {
  order: 1 !important;
}

.order-2 {
  order: 2 !important;
}

.order-3 {
  order: 3 !important;
}

.order-4 {
  order: 4 !important;
}

.order-5 {
  order: 5 !important;
}

.order-6 {
  order: 6 !important;
}

.order-7 {
  order: 7 !important;
}

.order-8 {
  order: 8 !important;
}

.order-9 {
  order: 9 !important;
}

.order-10 {
  order: 10 !important;
}

@media only screen and (min-width: 738.02px) {

  .order-auto {
    order: auto !important;
  }

}

/* gap */

.gap-block {
  gap: var(--space-xl) !important;
}

.gap-lg {
  gap: var(--space-lg) !important;
}

.gap-row,
.gap-md {
  gap: var(--space-md) !important;
}

.gap-sm {
  gap: var(--space-sm) !important;
}

.gap-sub,  
.gap-xs {
  gap: var(--space-xs) !important;
}

.gap-0 {
  gap: 0 !important;
}

@media only screen and (min-width: 738.02px) {

  .md\:gap-row, 
  .md\:gap-md {
    gap: var(--space-md) !important;
  }
  
  .md\:gap-sm {
    gap: var(--space-sm) !important;
  }
  
  .md\:gap-sub, 
  .md\:gap-xs {
    gap: var(--space-xs) !important;
  }
  
  .md\:gap-0 {
    gap: 0 !important;
  }

}
/* margin */

.mt-section {
  margin-top: var(--margin-section) !important;
}

.mt-sub-section {
  margin-top: var(--margin-sub-section) !important;
}

.mb-sub-title {
  margin-bottom: var(--margin-sub-title) !important;
}

.m-object {
  margin-top: var(--object-margin) !important;
  margin-bottom: var(--object-margin) !important;
}

.thinkHousePage .my-4 {
  margin-top: 32px !important;
  margin-bottom: 32px !important;
}

.my-block {
  margin-top: var(--space-xl) !important;
  margin-bottom: var(--space-xl) !important;
}

.my-lg {
  margin-top: var(--space-lg) !important;
  margin-bottom: var(--space-lg) !important;
}

.mt-block {
  margin-top: var(--space-xl) !important;
}

.mt-lg {
  margin-top: var(--space-lg) !important;
}

.mb-block {
  margin-bottom: var(--space-xl) !important;
}

.mb-lg {
  margin-bottom: var(--space-lg) !important;
}

.my-md {
  margin-top: var(--space-md) !important;
  margin-bottom: var(--space-md) !important;
}

.mb-md {
  margin-bottom: var(--space-md) !important;
}

.ml-md {
  margin-left: var(--space-md) !important;
}

.mr-md {
  margin-right: var(--space-md) !important;
}

.mb-sm {
  margin-bottom: var(--space-sm) !important;
}

.my-xs {
  margin-top: var(--space-xs) !important;
  margin-bottom: var(--space-xs) !important;
}

.mt-xs {
  margin-top: var(--space-xs) !important;
}

.mb-xs {
  margin-bottom: var(--space-xs) !important;
}

.mr-xs {
  margin-right: var(--space-xs) !important;
}

.my-xxs {
  margin-top: var(--space-xxs) !important;
  margin-bottom: var(--space-xxs) !important;
}

.mt-xxs {
  margin-top: var(--space-xxs) !important;
}

.mb-xxs {
  margin-bottom: var(--space-xxs) !important;
}

.mr-xxs {
  margin-right: var(--space-xxs) !important;
}

.m-0 {
  margin: 0 !important;
}

.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.thinkHousePage .p-3 {
  padding: 24px !important;
}

@media only screen and (min-width: 738.02px) {

  .md\:my-block {
    margin-top: var(--space-xl) !important;
    margin-bottom: var(--space-xl) !important;
  }

  .md\:mt-block {
    margin-top: var(--space-xl) !important;
  }

  .md\:mb-block {
    margin-bottom: var(--space-xl) !important;
  }

  .md\:my-lg {
    margin-top: var(--space-lg) !important;
    margin-bottom: var(--space-lg) !important;
  }

  .md\:mt-lg {
    margin-top: var(--space-lg) !important;
  }

  .md\:mb-lg {
    margin-bottom: var(--space-lg) !important;
  }

  .md\:my-md {
    margin-top: var(--space-md) !important;
    margin-bottom: var(--space-md) !important;
  }

  .md\:mt-md {
    margin-top: var(--space-md) !important;
  }

  .md\:mb-md {
    margin-bottom: var(--space-md) !important;
  }

  .md\:ml-md {
    margin-left: var(--space-md) !important;
  }

  .md\:mr-md {
    margin-right: var(--space-md) !important;
  }

  .md\:mt-sm {
    margin-top: var(--space-sm) !important;
  }
  
  .md\:mb-sm {
    margin-bottom: var(--space-sm) !important;
  }

  .md\:mt-xs {
    margin-top: var(--space-xs) !important;
  }
  
  .md\:mb-xs {
    margin-bottom: var(--space-xs) !important;
  }

  .md\:mt-xxs {
    margin-top: var(--space-xxs) !important;
  }
  
  .md\:mb-xxs {
    margin-bottom: var(--space-xxs) !important;
  }

  .md\:m-0 {
    margin: 0 !important;
  }

  .md\:mt-0 {
    margin-top: 0 !important;
  }

  .md\:mb-0 {
    margin-bottom: 0 !important;
  }

  .thinkHousePage .m-md-0 {
    margin: 0 !important;
  }
  
  .thinkHousePage .mt-md-0 {
    margin-top: 0 !important;
  }
  
  .thinkHousePage .mb-md-0 {
    margin-bottom: 0 !important;
  }

}

@media only screen and (min-width: 1024.02px) {

  .lg\:m-0 {
    margin: 0 !important;
  }

}

@media only screen and (max-width: 738px) {

  .thinkHousePage .p-3 {
    padding: min(24px, calc(24 / 480 * 100vw)) !important;
  }
  
  .thinkHousePage .my-4 {
    margin-top: min(32px, calc(32 / 480 * 100vw)) !important;
    margin-bottom: min(32px, calc(32 / 480 * 100vw)) !important;
  }

}

/* sizing */

.w-100 {
  width: 100% !important;
}

.thinkHousePage .w-md-100 {
  width: 100% !important;
}

.thinkHousePage .w-auto {
  width: auto !important;
}

.thinkHousePage .w-md-auto {
  width: auto !important;
}

.thinkHousePage .w-md-4em {
  width: 4em !important;
}

.thinkHousePage .w-md-8em {
  width: 8em !important;
}

.thinkHousePage .w-md-12em {
  width: 12em !important;
}

.thinkHousePage .w-md-16em {
  width: 16em !important;
}

.thinkHousePage .w-md-24em {
  width: 24em !important;
}

@media only screen and (min-width: 738.02px) {

  .md\:w-auto {
    width: auto !important;
  }

}

/* heading */

.thinkHousePage .h3 {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.6;
  margin: calc(40 / 20 * 1em) 0 calc(24 / 20 * 1em) ;
}

@media only screen and (max-width: 738px) {

  .thinkHousePage .h3 {
    font-size: 17px;
    line-height: 1.645;
  }

}

/* decoration */

.thinkHousePage .text-center {
  text-align: center !important;
}

.thinkHousePage .text-left {
  text-align: left !important;
}

.thinkHousePage .font-weight-normal {
  font-weight: normal !important;
}

.text-hanging {
  margin-left: 1em;
  text-indent: -1em;
}


/*
----------------------------- layout components -----------------------------
*/




/*
----------------------------- components -----------------------------
*/

.thinkHousePage .beforeAfter {
  display: flex;
  column-gap: 48px;
  position: relative;
}

.thinkHousePage .beforeAfter__arrow {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-30%,-50%);
  line-height: 1;
}

.thinkHousePage .beforeAfter__arrow::before {
  content: '';
  display: inline-block;
  border-style: solid;
  border-color:  transparent transparent transparent #e4dcbd;
  border-width: 2.5em 0 2.5em 1.5em;
}

@media only screen and (max-width: 738px) {

  .thinkHousePage .beforeAfter {
    display: block;
  }

  .thinkHousePage .beforeAfter__arrow {
    position: static;
    transform: none;
    text-align: center;
    margin-top: calc(-12 / 375 * 100vw);
    margin-bottom: calc(-16 / 375 * 100vw);
  }

  .thinkHousePage .beforeAfter__arrow::before {
    border-color: #e4dcbd transparent transparent transparent;
    border-width: calc(1.5em * .5) calc(2.5em * .5) 0 calc(2.5em * .5);
  }

}

/*
========================================================== 記事詳細ページ ==========================================================
*/

/*
----------------------------- 冒頭 -----------------------------
*/

.thinkHouse__article__header {
  margin: 56px 0;
  padding-left: 8px;
  padding-bottom: 24px;
}

.thinkHouse__article__title {
  margin: 0;
}

.thinkHouse__article__title::before {
  content: 'おうちを考える';
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  display: block;
}

.thinkHouse__article__titleInner {
  font-size: 29px;
  font-weight: bold;
  line-height: 1.6;
  display: block;
}

.thinkHouse__article__titleInner::before {
  content: '';
  display: block;
  margin: 12px 0 16px;
  width: 20px;
  height: 1px;
  background: #6e6e6e;
}

.thinkHouse__article__titleNote {
  margin: 4px 0 0;
}

.thinkHouse__article__mainPic {
  margin: 0 -80px;
}

.thinkHouse__article__mainPic img {
  width: 100%;
  height: auto;
}

@media (max-width: calc(1100px + (80px * 2))) {
  .thinkHouse__article__mainPic {
    margin-left: calc((100% - 100vw) / 2);
    margin-right: calc((100% - 100vw) / 2);
  }
}

.thinkHouse__article__desc {
  margin: 64px 0;
  /* font-size: 15px;
  line-height: 2.134; */
  font-size: 14px;
  line-height: 2.175 /*2.286*/;
}

@media only screen and (max-width: 738px) {

  .thinkHouse__article__header {
    margin: 56px 0;
    padding-left: 0;
    padding-bottom: 0;
  }

  .thinkHouse__article__titleInner {
    font-size: 20px;
  }  

  .thinkHouse__article__desc {
    margin: calc(32 / 375 * 100vw) 0;
    font-size: 15px;
    line-height: 2.133;
    font-weight: normal;
  }
}

/*
----------------------------- 目次 -----------------------------
*/

.thinkHouse__indexes {
  background: #f8f7f4;
  padding: 64px;
  padding-bottom: 72px;
  margin: 48px 0;
}

.thinkHouse__indexes__title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  text-transform: uppercase;
  color: #c2bca8;
  color: #a69d80;
  margin: 0 0 28px;
}

.thinkHouse__indexes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: bold;
}

.thinkHouse__indexes__subList {
  list-style: none;
  margin: 20px 0;
  margin-left: 24px;
  padding: 0;
  font-weight: normal;
}

.thinkHouse__indexes__item,
.thinkHouse__indexes__subItem {
  position: relative;
}

.thinkHouse__indexes__item + .thinkHouse__indexes__item {
  margin-top: 8px;
}

.thinkHouse__indexes__subItem + .thinkHouse__indexes__subItem {
  margin-top: 8px;
}

.thinkHouse__indexes__item {
  padding-left: 1.5em;
}

.thinkHouse__indexes__subItem {
  padding-left: .75em;
}

.thinkHouse__indexes__item::before {
  content: '';
  display: block;
  width: 4px;
  height: 2px;
  background: #c2bca8;
  position: absolute;
  left: 0;
  top: calc( 1.7em / 2 );
  transform: translate(0,-50%);
}

.thinkHouse__indexes__subItem::before {
  content: '';
  display: block;
  width: 2px;
  height: 2px;
  background: #222;
  position: absolute;
  left: 0;
  top: calc( 1.7em / 2 );
  transform: translate(0,-50%);
}

.thinkHouse__indexes__link[href],
.thinkHouse__indexes__subLink[href] {
  text-decoration: none;
  color: inherit;
}

@media (any-hover:hover) {
	.thinkHouse__indexes__link[href]:hover,
  .thinkHouse__indexes__subLink[href]:hover {
		text-decoration: underline;
	}
}

.thinkHouse__indexes__link:not([href^="#"]),
.thinkHouse__indexes__subLink:not([href^="#"]) {
  opacity: .4;
}

@media only screen and (max-width: 738px) {
  
  .thinkHouse__indexes {
    padding: calc(32 / 375 * 100vw) calc(24 / 375 * 100vw);
    margin: calc(32 / 375 * 100vw) 0;
  }
  
  .thinkHouse__indexes__title {
    font-size: 14px;
    margin: 0 0 calc(16 / 375 * 100vw);
  }
  
  .thinkHouse__indexes__list {
    font-size: 13px;
    line-height: 1.846;
  }
  
  .thinkHouse__indexes__subList {
    margin: 12px 0;
    margin-left: 4px;
  }

  .thinkHouse__indexes__item {
    padding-left: 1em;
  }
  
  .thinkHouse__indexes__item + .thinkHouse__indexes__item {
    margin-top: 4px;
  }
  
  .thinkHouse__indexes__subItem + .thinkHouse__indexes__subItem {
    margin-top: 4px;
  }

}

/*
----------------------------- セクション -----------------------------
*/

/*
セクション間のmarginについては、
文章がfloatした画像の下に回り込むようにしてあるので、画像にmargin-bottomを設定する必要があるので、
文章は短かったときは、セクション間の余白に画像の余白が加わる。
文章が画像より高い場合もあるので、文章にも画像と同じmargin-bottomを設定する必要がある。

・文章が画像より低い場合　：　画像のmargin-bottomと.thinkHouse__sectionの余白を足したものがセッション間の余白になる（ margin-bottom:64px + 24px = 88px ）

・文章が画像より高い場合　：　文章のmargin-bottomと.thinkHouse__sectionの余白を足したものがセッション間の余白になる（ margin-bottom:56px + line-height ≒ 64px相当 + 24px = 88px ）

・文章と画像の下にサブセクションがあるとき　：　サブセクションのmargin-bottomと.thinkHouse__sectionの余白を足したものがセッション間の余白になる

*/

.thinkHouse__article__body {
  margin-top: var(--body-mt);
  /* font-size: 15px;
  line-height: 2.134; */
  font-size: 14px;
  line-height: 2.175 /*2.286*/;
  font-weight: normal;
}

.thinkHouse__section + .thinkHouse__section {
  margin-top: var(--section-gap);
}

/* .thinkHouse__closingのmargin-topが相殺されるよう、.thinkHouse__sec__contentではなく.thinkHouse__sec__innerをflow-rootにする */
.thinkHouse__sec__inner {
  display: flow-root;
}

.thinkHouse__sec__content:first-child {
  /* 文章と頭を揃えるために空けた余白を詰める */
  margin-top: -.6em;
}

.thinkHouse__subSection {
  clear: both;
}

.thinkHouse__subSec__content {
  /* display: flow-root; */
}

.thinkHouse__subSec__content::after {
  content: '';
  display: block;
  clear: both;
}

.thinkHouse__sec__body,
.thinkHouse__subSec__content:last-child .thinkHouse__subSec__body {
  margin-bottom: var(--sub-section-gap-after-text);
}

@media only screen and (max-width: 738px) {

  .thinkHouse__article__body {
    margin-top: calc(44 / 375 * 100vw);
    font-size: 15px;
    line-height: 2.133;
  }

  .thinkHouse__section + .thinkHouse__section {
    margin-top: var(--section-gap);
  }

  .thinkHouse__sec__inner,
  .thinkHouse__sec__content,
  .thinkHouse__subSec__content {
    display: block;
  }

  /* .thinkHouse__sec__content {
    margin-top: 0;
  } */

  .thinkHouse__subSection {
    margin-top: var(--sub-section-gap);
    margin-bottom: 0;
  }

  .thinkHouse__sec__header + .thinkHouse__subSection {
    margin-top: 0;
  }
  
  .thinkHouse__sec__body,
  .thinkHouse__subSec__body {
    margin-bottom: var(--object-margin);
  }

}

/*
----------------------------- 見出し -----------------------------
*/

.thinkHouse__sec__header {
  border-top: 1px solid #e5e2d9;
  min-height: 128px;
  display: flex;
  align-items: center;
  position: relative;
}

.thinkHouse__sec__header::before {
  content: '';
  display: block;
  width: 45px;
  height: 1px;
  background: #d9bd50;
  position: absolute;
  top: -1px;
  left: 0;
}

.thinkHouse__sec__title {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.727;
}

.thinkHouse__subSec__title {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
  padding-left: calc(16 / 20 * 1em);
  /* margin: 0 0 calc(16 / 20 * 1em); */
  margin: 0 0 calc(24 / 20 * 1em);
  position: relative;
}

.thinkHouse__subSec__title::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0.264em;
  bottom: 0.264em;
  width: 1px;
  background: #d9bd50;
}

.thinkHouse__subSec__title.thinkHouse__subSec__title small {
  font-size: calc( 14 / 20 * 1em );
  vertical-align: middle;
  position: relative;
  top: -.15em;
}

@media only screen and (max-width: 738px) {
  .thinkHouse__sec__header {
    min-height: 96px;
  }

  .thinkHouse__sec__title {
    font-size: 18px;
    line-height: 1.556;
  }

  .thinkHouse__subSec__title {
    font-size: 17px;
    line-height: 1.645;
    margin: 0 0 calc(22 / 17 * 1em);
  }
}

.thinkHouse__h4 {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
  margin: 0 0 calc(16 / 20 * 1em);
}

/*
----------------------------- 本文 -----------------------------
*/

/*
----------------------------- 本文内の要素 -----------------------------
*/

/*--------- 本文内の要素のベース ----------*/

.thinkHouse__body p {
  margin: 0;
}

.thinkHouse__body p + p {
  margin-top: 1.5em;
}

.thinkHouse__sec__body p,
.thinkHouse__subSec__body p,
.thinkHouse__imgHeadCont__secBody p {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

.thinkHouse__sec__body > p:first-child,
.thinkHouse__subSec__body > p:first-child,
.thinkHouse__imgHeadCont__secBody > p:first-child {
  margin-top: 0;
}

/* 
.thinkHouse__sec__body > *:last-child,
.thinkHouse__subSec__body > *:last-child,
.thinkHouse__imgHeadCont__secBody > *:last-child {
  margin-bottom: 0;
} */

/*----- レイアウト -----*/

/* margin */

.thinkHouse__object {
  display: block;
  margin-top: var(--object-margin);
  margin-bottom: var(--object-margin);
}

/* .thinkHouse__table__container,
.thinkHouse__graph__container {
  margin: var(--object-margin) 0;
} */

.thinkHouse__box, 
.thinkHouse__box--bg {
  margin: var(--object-margin) 0;
}

.thinkHouse__imgHeadCont__pics {
  margin-top: var(--object-margin);
}

.thinkHouse__sec__body > .thinkHouse__object:last-child,
.thinkHouse__subSec__body > .thinkHouse__object:last-child,
.thinkHouse__clearFloat:last-child > .thinkHouse__object:last-child,
.thinkHouse__imgHeadCont__secBody > .thinkHouse__object:last-child {
  margin-bottom: var(--sub-section-gap);
}

@media only screen and (max-width: 738px) {

  .thinkHouse__sec__body > .thinkHouse__object:last-child,
  .thinkHouse__subSec__body > .thinkHouse__object:last-child,
  .thinkHouse__clearFloat:last-child > .thinkHouse__object:last-child,
  .thinkHouse__imgHeadCont__secBody > .thinkHouse__object:last-child {
    margin-bottom: var(--object-margin);
  }

}

/* grid */

.thinkHouse__grid-2 {
  display: flex;
  justify-content: flex-start;
  row-gap: var(--object-margin-sm);
  column-gap: var(--object-margin-sm);
}

.thinkHouse__grid-2--sm {
  display: flex;
  justify-content: flex-start;
  row-gap: var(--object-margin-xs);
  column-gap: var(--object-margin-xs);
}

.thinkHouse__grid-2--xs {
  display: flex;
  justify-content: flex-start;
  row-gap: var(--object-margin-xxs);
  column-gap: var(--object-margin-xxs);
}

.thinkHouse__grid-3 {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  row-gap: var(--object-margin-sm);
  column-gap: var(--object-margin-sm);
}

.thinkHouse__grid-3 > * {
  flex: 0 1 calc( (100% - (var(--object-margin-sm) * 2)) / 3 );
}

/* .thinkHousePage .flex {
  display: flex;
}

.thinkHousePage .flex-col {
  flex-direction: column;
}

.thinkHousePage .flex-row-reverse {
  flex-direction: row-reverse;
}

@media only screen and (min-width: 738.02px) {
  .thinkHousePage .md\:flex-row-reverse {
    flex-direction: row-reverse;
  }
  .thinkHousePage .md\:justify-end {
    justify-content: flex-end;
  }
} */

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

@media only screen and (max-width: 992px) {

  .thinkHouse__grid-3 > * {
    flex: 0 1 calc( (100% - var(--object-margin-sm)) / 2 );
  }

}

@media only screen and (max-width: 738px) {

  .thinkHouse__grid-2,
  .thinkHouse__grid-3 {
    flex-direction: column;
  }

  

}

/*---------- 横の画像 ----------*/

.thinkHouse__sec__sidePic,
.thinkHouse__subSec__sidePic {
  width: calc(400 / 950 * 100%);
  box-sizing: border-box;
  margin-bottom: var(--sub-section-gap);
  /* 文章と頭を揃えるためline-height分の余白を空ける */
  margin-top: .6em;
}

.thinkHouse__imgHeadCont__sidePicContent .thinkHouse__imgHeadCont__pic {
  margin-top: .6em;
}

.thinkHouse__sec__sidePic img,
.thinkHouse__subSec__sidePic img,
.thinkHouse__imgHeadCont__pic img {
  display: block;
  width: 100%;
  height: auto;
}

.thinkHouse__section:nth-child(odd) .thinkHouse__sec__sidePic {
  float: left;
  margin-right: 48px;
}

.thinkHouse__section:nth-child(even) .thinkHouse__sec__sidePic {
  float: right;
  margin-left: 48px;
}

.thinkHouse__section .thinkHouse__subSec__sidePic {
  float: right;
  margin-left: 48px;
}

.thinkHouse__section .thinkHouse__subSec__sidePic--left {
  float: left;
  margin-right: 48px;
  margin-left: 0;
}

.thinkHouse__sec__sidePic--bordered,
.thinkHouse__subSec__sidePic--bordered {
  position: relative;
}

.thinkHouse__sec__sidePic--bordered::after,
.thinkHouse__subSec__sidePic--bordered::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  border: 1px solid #e5e2d9;
}

.thinkHouse__sec__sidePic figure,
.thinkHouse__subSec__sidePic figure,
.thinkHouse__imgHeadCont__pic figure {
  display: block;
  width: 100%;
  height: auto;
}


@media only screen and (max-width: 738px) {
  
  .thinkHouse__sec__sidePic,
  .thinkHouse__subSec__sidePic {
    width: auto;
    margin-top: 0;
    margin-bottom: var(--object-margin);
  }
  
  .thinkHouse__section:nth-child(odd) .thinkHouse__sec__sidePic {
    float: none;
    margin-right: 0;
  }
  
  .thinkHouse__section:nth-child(even) .thinkHouse__sec__sidePic {
    float: none;
    margin-left: 0;
  }

  .thinkHouse__section .thinkHouse__subSec__sidePic {
    float: none;
    margin-left: 0;
    margin-right: 0;
  }

  .thinkHouse__sec__sidePic img {
    max-height: 42vh;
    object-fit: contain;
  }

}

.thinkHousePage .h5-sec + .h5-sec {
  margin-top: 43px;
}

.thinkHousePage .h5 {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  margin: 0 0 4px;
}

/*---------- コンテンツを回り込ませないとき ----------*/

.thinkHouse__article__body .thinkHouse__clearFloat {
  clear: both;
}

/*---------- 備考 ----------*/

.thinkHousePage small {
  display: inline-block;
  max-width: 100%;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.846;
}

.thinkHouse__box small {
  font-size: 11px;
}

.thinkHousePage .thinkHouse__note {
  display: block;
  margin-top: 1em;
  margin-left: 1em;
  text-indent: -1em;
  line-height: 2.25;
}

/*---------- リンク ----------*/

.thinkHouse__link {
  margin: 2.4em 0 0;
  display: block;
  font-weight: 500;
}

.thinkHouse__link__icon {
  position: relative;
  display: inline-block;
  height: calc(0.8em * .8);
  width: calc(2.4em * .8);
  margin-left: calc(0.8em * .8);
}

.thinkHouse__link__icon:before, 
.thinkHouse__link__icon:after {
  content: '';
  display: block;
  background: #333;
  position: absolute;
}

.thinkHouse__link__icon:before {
  bottom: calc(0.2em * .8);
  left: 0;
  right: 0;
  height: 1px;
}

.thinkHouse__link__icon:after {
  bottom: calc(0.2em * .8);
  width: calc(1em * .8);
  right: 0;
  height: 1px;
  transform-origin: right center;
  transform: rotate(40deg);
}

/*--------- リスト ----------*/

.thinkHouse__article__body ul {
  list-style: none;
  margin: 1em 0;
  padding: 0;
}

.thinkHouse__sec__body > ul,
.thinkHouse__subSec__body > ul {
  /*display: inline-block;/* floatの影響を避けるため */
  /* inline-blockにするとmaringの相殺が効かないので、上下の余白は上下の要素に任せる */
  margin: 0;
}

.thinkHouse__article__body ul li,
.thinkHouse__article__body dd {
  margin: 0;
  position: relative;
  padding-left: 1.2em;
  /* overflow: hidden をしないと、floatした画像の背面にmarkerが隠れる */
  overflow: hidden;
}

.thinkHouse__article__body ol li {
  padding-left: .2em;
}

.thinkHouse__article__body ul li::before,
.thinkHouse__article__body dd::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: #adadad;
  position: absolute;
  left: .1em;
  top: calc( 2.134em / 2 );
  transform: translate(0,-50%);
}

.thinkHouse__article__body dd::before {
  top: calc( 1.8em / 2 );
}

.thinkHouse__article__body table ul li::before,
.thinkHouse__article__body figure ul li::before {
  top: calc( 1.8em / 2 );
}

.thinkHouse__article__body ul.list-none {
  padding-left: 0;
}

.thinkHouse__article__body ul.list-none li::before {
  content: none;
}

.thinkHouse__article__body dt {
  font-weight: bold;
  margin: 0 0 .3em;
}

@media only screen and (max-width: 738px) {

  .thinkHouse__article__body ul {
    margin: calc(16 / 375 * 100vw) 0;
  }

  .thinkHouse__sec__body > ul,
  .thinkHouse__subSec__body > ul {
    margin: 0;
  }

  .thinkHouse__article__body ul li::before,
  .thinkHouse__article__body dd::before {
    top: calc( 2em / 2 );
  }

}

/*--------- テーブル ----------*/

.thinkHouse__table__container {
  clear: both;
  overflow-x: auto;
}

.thinkHouse__article__body table {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  max-width: 100%;
  min-width: 20em;
  /* background: #f8f7f4; */
  /* background: #fcfbf8; */
  /* background: #fffef2; */
  background: #fcfbf8;
  /* background: #f9f9f9; */
  /* border-left: 1px solid #e5e2d9; */
  border-bottom: 1px solid #e5e2d9;
}

.thinkHouse__article__body th,
.thinkHouse__article__body td {
  border-top: 1px solid #e5e2d9;
  border-right: 1px solid #e5e2d9;
  text-align: left;
  padding: .75em 1.25em;
  box-sizing: border-box;
  vertical-align: middle;
  font-size: 13px;
  line-height: 1.8;
}

.thinkHouse__article__body th {
  /* background: #f8f7f4; */
  /* background: #fffef2; */
  /* background: #fcfbf8; */
  background: #f2efe8;
  /* background: #f4f2e9; */
  /* background: #efede6; */
  /* color: #7d7151; */
  color: #796b47;
}

.thinkHouse__article__body .th-w3 {
  width: 20em;
}

.thinkHouse__article__body th:first-child {
  border-left: 1px solid #e5e2d9;
}

.thinkHouse__article__body .thL {
  position: sticky;
  left: 0;
}

.thinkHouse__article__body .table-min-width-md {
  min-width: 40em !important;
}

@media only screen and (max-width: 738px) {

  .thinkHouse__table__container {
    margin: calc(24 / 375 * 100vw) 0;
  }

  .thinkHouse__article__body th,
  .thinkHouse__article__body td {
    font-size: 12px;
  }

  .thinkHouse__article__body .th-w3 {
    width: 35%;
  }
  
}

/*--------- 画像 ----------*/

.thinkHouse__pic {
  text-align: center;
}

/*--------- グラフ ----------*/

.thinkHouse__graph__container {
  overflow-x: auto;
}

.thinkHouse__graph {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 576px;
  box-sizing: border-box;
  padding: var(--object-padding);
  text-align: center;
}

.thinkHouse__graph--lg {
  max-width: 680px;
}

.thinkHouse__graph figcaption {
  font-size: 14px;
  line-height: 1.6;
  font-weight: bold;
  text-align: center;
  display: block;
  margin-top: calc( 1.6 / 4 * -1em );
  margin-bottom: calc( 1.6 / 4 * 1em );
  margin-top: -.25em;
  margin-bottom: 1.5em;
}

.thinkHouse__graph img {
  display: inline-block;
  vertical-align: top;
  width: auto;
  max-width: 100%;
}

.thinkHouse__graph--bordered {
  border: 1px solid #e5e2d9;
}

.thinkHouse__fig {
  /* figcaptionのleading-trimのネガティブマージンを有効にするためにblockにする */
  display: block;
}

.thinkHouse__figSmall {
  font-size: 12px;
}

.thinkHouse__figNote {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

.thinkHousePage .thinkHouse__figNote {
  display: block;
}

figure .thinkHouse__figNote {
  margin-top: .25em;
}

.thinkHouse__subSec__body .thinkHouse__figNote {
  
}

@media only screen and (max-width: 738px) {

  .thinkHouse__graph {
    max-width: none;
  }

  .thinkHouse__graph figcaption {
    font-size: 13px;
  }

}

/*--------- box（ object--bordered + 内側のfont-sizeとline-heightが小さめになる ） ----------*/

.thinkHouse__box,
.thinkHouse__box--bg {
  clear: both;
  display: block;
  font-size: 13px;
  line-height: 1.8;
  padding: var(--object-padding);
}

.thinkHouse__box {
  border: 1px solid #e5e2d9;
  background: #fff;
}

.thinkHouse__box--bg {
  border: 1px solid #edeae1;
  /* background: #fcfbf8; */
  background: #f8f7f7;
}

.thinkHouse__box--sm {
  border: 1px solid #e5e2d9;
  padding: var(--object-padding);
}

/* .thinkHouse__box--bgが子要素になったらのサイズ感を小さくする */
@media only screen and (min-width: 738.02px) {
  .thinkHouse__box .thinkHouse__box--bg {
    padding: var(--object-padding-sm);
  }
}

/* figureが並んだらちょっと詰める */
.thinkHouse__box--bg + .thinkHouse__box--bg {
  /* margin-top: 24px; */
  margin-top: -8px;
}

/* figureを横並びにしたらこれで包む */
.thinkHouse__boxMargin {
  margin: var(--object-margin-sm) 0;
}

@media only screen and (min-width: 738.02px) {
  .thinkHouse__boxMargin .thinkHouse__box--bg.thinkHouse__box--bg {
    margin: 0;
  }
}

/* figcaption */

.thinkHouse__box__caption {
  font-weight: bold;
  font-size: 15px;
  /* margin-bottom: 0.34em; */
  margin-bottom: 0.57em;
  color: #796b47;
  /* color: #7d7151; */
  /* color: #887133; */
}

/* line-heightの上余白分詰める */
.thinkHouse__box .thinkHouse__box__caption:first-child, 
.thinkHouse__box--bg.thinkHouse__box__caption:first-child {
  margin-top: -0.267em;
}

/* テーマ */

.thinkHouse__box--bg-orange {
  background-color: #faf8ef;
  border-color: #f8d7a2;
}

.thinkHouse__box--bg-orange .thinkHouse__box__caption, 
.thinkHouse__box--bg-orange dt {
  color: #b5792d;
  color: #d1711e;
}

.thinkHouse__box--bg-orange li::before,
.thinkHouse__box--bg-orange dd::before {
  background-color: #e5d289;
  background-color: #e7d2a0;
}

.thinkHouse__box--bg-green {
  background-color: #ebf3f0;
  background-color: #ecf5e9;;
  border-color: #d4e5df;
  border-color: #c7e1b7;
}

.thinkHouse__box--bg-green .thinkHouse__box__caption, 
.thinkHouse__box--bg-green dt {
  color: #709758;
  color: #57992f;
}

.thinkHouse__box--bg-green li::before,
.thinkHouse__box--bg-green dd::before {
  background: #b8cdab;
}

.thinkHouse__box > *:first-child,
.thinkHouse__box--bg > *:first-child {
  margin-top: 0;
}

.thinkHouse__box > *:last-child,
.thinkHouse__box--bg > *:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 738px) {

  .thinkHouse__box, 
  .thinkHouse__box--bg {
    line-height: 2.153;
  }

  .thinkHouse__box {
    padding: calc(24 / 375 * 100vw);
  }

  .thinkHouse__box .thinkHouse__box--bg {
    padding: calc(20 / 375 * 100vw);
  }

  .thinkHouse__box__caption {
    font-size: 15px;
    line-height: 1.866;
    margin-bottom: 0.75em;
  }

}

/*----- -----*/

.thinkHouse__object--bordered {
  position: relative;
}

.thinkHouse__object--bordered::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  border: 1px solid #e5e2d9;
}

.thinkHouse__object--padding {
  padding: var(--object-padding);
}

.thinkHouse__object--padding-xs,
.thinkHouse__graph--padding-xs, 
.thinkHouse__box--padding-xs {
  padding: var(--object-padding-xs);
}

.thinkHouse__object--padding-sm,
.thinkHouse__graph--padding-sm, 
.thinkHouse__box--padding-sm {
  padding: var(--object-padding-sm);
}

.thinkHouse__object--padding-md,
.thinkHouse__graph--padding-md, 
.thinkHouse__box--padding-md {
  padding: var(--object-padding) !important;
}

/*----------------------- 締め -----------------------*/

.thinkHouse__closing {
  clear: both;
  font-size: 15px;
  font-weight: bold;
  margin: 32px 0 0;
}

.thinkHouse__closing > *:last-child {
  margin-bottom: 0;
}

.thinkHouse__article__footer {
  margin: 80px 0;
}

.thinkHouse__backBtn.thinkHouse__backBtn {
  text-decoration: none;
  width: 196px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  background: #3b3b3b;
  margin: 0 auto;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 15px;
  font-weight: normal;
}

@media only screen and (max-width: 738px) {

  .thinkHouse__closing {
    line-height: 2.1;
    margin: calc(24 / 375 * 100vw) 0 0;
  }

  .thinkHouse__article__footer {
    margin: calc(40 / 375 * 100vw) 0  calc(52 / 375 * 100vw);
  }

  .thinkHouse__backBtn.thinkHouse__backBtn {
    width: 100%;
    /* max-width: 270px; */
    height: 40px;
    line-height: 40px;
    font-size: 14px;
  }

}

/*
----------------------------- 見出しがheroイメージバナーになってるタイプのコンテンツ -----------------------------
*/

.thinkHouse__imgHeadContenet {
  background: #f6f6f6;
  margin-bottom: 64px;
}

.thinkHouse__imgHeadContenet::after {
  content: '';
  display: table;
}

.thinkHouse__imgHeadCont__section {
  margin-bottom: 72px;
}

.thinkHouse__imgHeadCont__secHeader {
  position: relative;
}

.thinkHouse__imgHeadCont__secHeader img {
  display: block;
}

.thinkHouse__imgHeadCont__secTitle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0 64px;
  font-size: 24px;
  line-height: 1.556;
  font-weight: bold;
  font-feature-settings: "palt";
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: .24em;
  color: #fff;
}

.thinkHouse__imgHeadCont__secContent {
  padding: 64px 64px 0;
}

.thinkHouse__imgHeadCont__sidePicContent {
  display: flex;
  column-gap: 48px;
}

.thinkHouse__imgHeadCont__sidePicContent .thinkHouse__imgHeadCont__pic {
  flex: 0 0 336px;
}

.thinkHouse__imgHeadCont__pics {
  display: flex;
  column-gap: 32px;
  row-gap: 16px;
}

.thinkHouse__imgHeadCont__pics .thinkHouse__imgHeadCont__pic {
  flex: 0 1 auto;
}

.thinkHouse__imgHeadCont__pic {
  box-sizing: border-box;
}

.thinkHouse__imgHeadCont__pic--bordered {
  border: 1px solid #e5e2d9;
}

@media only screen and (max-width: 738px) {

  .thinkHouse__imgHeadContenet {
    margin-top: calc(40 / 375 * 100vw);
    margin-bottom: calc(40 / 375 * 100vw);
  }

  .thinkHouse__imgHeadCont__secTitle {
    font-size: 18px;
    line-height: 1.556;
    padding: 0 calc(28 / 375 * 100vw);
  }

  .thinkHouse__imgHeadCont__section {
    margin-bottom: calc(40 / 375 * 100vw);
  }

  .thinkHouse__imgHeadCont__secContent {
    padding: calc(28 / 375 * 100vw) calc(28 / 375 * 100vw) 0;
  }

  .thinkHouse__imgHeadCont__secBody {
    margin-bottom: calc(24 / 375 * 100vw);
  }

  .thinkHouse__imgHeadCont__sidePicContent, 
  .thinkHouse__imgHeadCont__pics {
    margin-top: 0;
  }

  .thinkHouse__imgHeadCont__sidePicContent {
    display: block;
  }

  .thinkHouse__imgHeadCont__pics {
    flex-direction: column;
    margin-bottom: calc(32 / 375 * 100vw);
  }

  .thinkHouse__imgHeadCont__pics img {
    width: auto;
  }

}

/*-----------------------  -----------------------*/

.thinkHousePage .leading-trim {
  display: block;
}

.thinkHousePage .leading-trim::before,
.thinkHousePage .leading-trim::after,
.thinkHousePage .leading-trim-start::before,
.thinkHousePage .leading-trim-end::after {
  content: '';
  display: block;
}

.thinkHousePage p > .leading-trim::before,
.thinkHousePage p > .leading-trim-start::before {
  margin-top: -0.6em;
}

.thinkHousePage p > .leading-trim::after,
.thinkHousePage p > .leading-trim-end::after {
  margin-bottom: -0.6em;
}

.thinkHousePage figcaption > .leading-trim::before {
  margin-top: -0.6em;
}

.thinkHousePage figcaption > .leading-trim::after {
  margin-bottom: -0.6em;
}

.thinkHousePage figcaption > .leading-trim-end::after {
  margin-bottom: -0.6em;
}