@charset "utf-8";
/* -----------------------------------------------------
 * header
* --------------------------------------------------- */

/* ----------------------------------------------------
 * header 全体
 * ------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  margin-bottom: 20px;
}
.header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 15px;
}
.header a  {
  user-select: none;
}
header.open-popup a {
  pointer-events: none;
}
/* ----------------------------------------------------
 * 上
 * ------------------------------------------------- */
.header-above {
  background-color: #fff;
}
/* logo ------------------ */
.header-logo {
  flex: 0 0 210px;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: unset;
  margin: 2px 0;
  overflow: hidden;
}
.header-logo a {
  display: inline-block;
  width: auto;
}
.header-logo img {
  width: 100%;
  object-fit: contain;
  margin-top: 2px;
}
.header-logo a:hover {
  opacity: 0.6;
}
@media (min-width: 401px) {
  .header-logo span {
    display: block;
    padding-bottom: 5px;
  }
}
@media (max-width: 400px) {
  .header-logo {
    flex: 0 0 calc(100% - 150px);
  }
  .header-logo span {
    display: none;
  }
}
/* above 右 --------------- */
.header-above ul {
  flex: 0 0 500px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap: 10px;
}
/* 住宅dx ------------------ */
.h-housing {
  flex: 0 0 210px;
  position: relative;
  padding-right: 10px;
  line-height: 1.2;
  text-align: center;
  background-color: #0EAA67;
  border-radius: 3px;
  height:40px;
  font-size: 15px;
}
.h-housing a {
  line-height: 1;
  color: #fff;
}
.h-housing::after {
  content: ""; 
  position: absolute;
  width: 15px;
  height: 15px;
  top: 30%;
  right: 3px;
  background: url("../img/common/outlink-w.svg") 0 0 no-repeat;
  object-fit: contain;
}

@media (min-width: 1025px) {
  .h-housing {
    flex: 1 0 250px;
    height: 40px;
    padding-top: 3px;
    font-weight: 700;
  }
  .h-housing span {
    display: block;
    font-weight: 500;
    font-size: .8em;
  }
}
@media (max-width: 1024px) {
  .header-above ul {
    flex-wrap: wrap;
  }
  .header-above ul li {
    margin-top:5px;
  }
  .h-housing {
    margin-bottom:5px;
  }
  .h-housing span {
    font-size: 0.8em;
  }
}
@media (max-width: 768px) {
  .header-above ul {
    flex: 0 0 0;
  }
  .header-above ul li {
    margin-top:0;
  }
  .h-housing {
    flex: 0 0 180px;
    height: 38px;
    margin: 4px 0 2px;
    font-weight: 500;
    font-size: 14px;
  }
  .h-housing span {
    display: none;
  }
}
@media (max-width: 400px) {
  .h-housing {
    flex: 0 0 140px;
  }
}


/* ----------------------------------------------------
 * 下 初期表示
 * ------------------------------------------------- */
.header-under {
  padding: 0;
  background-color: #004EA2;
}

/* NAV項目 ------------------- */
.hnav-wrap {
  flex: 0 1 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.hnav {
  color: #fff;
  width: auto;
}
.hnav summary {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
  z-index: 101;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.hnav[open] summary {
  opacity: .6;
  pointer-events: none;
}
.hnav a {
  display: block;
  color: #fff;
}
.hnav summary:hover,
.hnav a:hover {
  opacity: .75;
}
@media (min-width: 1001px) {
  .hnav summary {
    padding: 5px clamp(15px, 2.3vw, 40px);
  }
}
@media (min-width: 921px) and (max-width: 1000px) {
  .hnav summary {
    padding: 5px clamp(5px, 1.3vw, 30px);
  }
}
@media (min-width: 921px) {
  .hnav summary.after::after {
    content: "から探す";
    padding-left: 3px;
    font-weight: 500;
    font-size: .85em;
  }
}
@media (max-width: 920px) {
  .hnav summary {
    padding: 5px clamp(5px, 3vw, 30px);
    font-size: 1.5rem;
  }
  .hnav summary.after::after {
    content: "";
  }
}
@media (min-width: 501px) {
  .hnav summary::before {
    content: "▼";
    padding-right: 5px;
    font-size: .6em;
  }
}
/* ボタンリンク / 768以下 header-js-inに移動 -------------- */
.header-links {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  column-gap: 7px;
} 
.header-links a {
  display: block;
  font-weight: 700 !important;
}
.h-link a { 
  font-size: 1.4rem;
  color: #fff;
  background-color: #ff7e00; 
  border-radius: 3px;
}
.h-sns a {
  width: 30px;
  line-height: 30px;
  text-align: center;
  color: #fff;
  background-color: #004EA2;
  border-radius: 50%;
}
/* 検索 / 768以下 header-js-in で設定 -------- */
.h-search {
  flex: 0 0 250px;
}
.h-search form{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 5px;
  line-height: 1;
  background-color: #fff;
  border-radius: 3px;
  border: solid 1px #ccc;
}
.h-search input[type="text"] {
  font-size: 1.4rem;
  padding: 3px 5px;
  color: #888;
  border: 0;
}
.h-search input::placeholder {
  color: #ccc;
}
.h-link .ico:before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-size: cover;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 3px;
}
.h-link .document:before {
  background-image: url('../img/common/ico_file-alt.svg');
}
.h-link .newsletter:before {
  background-image: url('../img/common/ico_paper-plane.svg');
}
.h-link .notifications:before {
  background-image: url('../img/common/ico_notifications.svg');
}
@media (min-width: 769px) {
  .h-link a {
/*    min-width: 7.25em;*/
    min-width: 9em;
    line-height: 40px; 
    text-align: center; 
  }
  .h-sns a {
    color: #fff;
    background-color: #004EA2;
  }
}
@media (max-width: 768px) {
  .h-link a { 
    min-width: unset; 
    padding: 0 5px;
    line-height: 26px; 
  }
  .h-sns a {
    color: #004EA2;
    background-color: #fff;
  }
}

/* レスポンス jQuery移動先 / header-js-in --------- */
@media (max-width: 768px) {
  .header-js-in {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    column-gap: 15px;
    margin-top: 5px;
    margin-bottom: -5px;
  }
  .header-js-in .header-links { flex: 0 0 245px }
}
@media (max-width: 500px) {
  .header-js-in {
    flex-wrap: wrap;
  }
  .header-js-in .h-search {
    flex: 0 0 100%;
    margin: 5px 0;
  }
}

/* ----------------------------------------------------
 * 右ナビ child 全体設定 → header左と位置合わせあり
 * ------------------------------------------------- */
.nav-child {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 75px);
  padding: 0 2% 15px;
  background: #004EA2;
  overflow-y: auto;
}
/* ----------------------------------------------------
 * 右ナビ child 中身 (総wrap nav-child)
 * ------------------------------------------------- */
.nav-child a {
  font-weight: 400;
}
@media (max-width: 500px) {
  .nav-child a { font-size: 1.4rem; }
}
.single-line {
  border-bottom: solid 1px rgba(255,255,255,.3); 
}
.nav-child-top a::before,
.nav-child-conts span::before,
.child-footer-link a::before {
  content: "\f101";
  font-family: "icomoon";
  margin-right: 3px;
}
.nav-child-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-child-top ul {
  flex: 0 1 100%;
  padding-right: 1em;
}
.nav-child-top a {
  font-weight: 500;
  padding-left: 1em;
  text-indent: -1em;
}
.nav-child-top button {
  flex: 0 0 auto;
  font-size: 3em;
  line-height: 1;
}
@media (min-width: 501px) {
  .nav-child-top button {
    font-size: 3em;
  }
}
@media (max-width: 500px) {
  .nav-child-top a {
    font-weight: unset;
  }
  .nav-child-top button {
    font-size: 2.5em;
  }
}
/* 下リンク ------------------ */
.child-footer-link {
  display: flex;
  column-gap: 15px;
  margin-top: 7px;
} 
/* ----------------------------------------------------
 * child メインwrap(nav-child > nav-child-conts)
 * ------------------------------------------------ */
.nav-child-conts {
  border-bottom: solid 1px rgba(255,255,255,.3); 
} 
.hd-list {
  display: flex;
  align-items: flex-start;
  column-gap: 10px;
}
.hd-column {
  break-inside: avoid;
  page-break-inside: avoid;
  column-gap: 10px;
}
.hd-list li a,
.hd-column li a {
  font-size: 15px; 
  font-weight: 400;
}
.hd-list a span::before,
.hd-column a span::before {
  content: "\0bb"; 
  display: inline-block;
  padding-right: 3px;
}
.hd-ttl {
  margin: 0 0 10px;
  padding: 0 5px;
  font-weight: 700;
  color: #004EA2;
  background-color: #fff;
}
.hd-ttl a {
  font-weight: 700;
  font-size: unset;
  color: #004EA2;
}
.hd-img img {
  aspect-ratio: 100 / 66;
  width: 100%;
  object-fit: cover;
}
/* 目的 ---------------------------------------- */
.hpps {
  display: flex;
  column-gap: 2%;
  width: 100%;
}
.hpps > div {
  margin-top: 10px;
}
.hpps li, .hpps a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 7px;
}
.hpps li {
  border-bottom: solid 1px rgba(255,255,255,.2);
}
.hpps li::after {
  content: ">";
  transform: scale(.7, 1.5);
  line-height: 1;
}
.hpps li:hover {
  background-color: rgba(255,255,255,.2);
}
.hpps a {
  flex: 0 1 100%;
  font-weight: 500;
}
.hpps a::after {
  font-weight: 400;
  font-size: .9em;
  color: #f6f6f6;
}
.hpps a:not(.post)::after {
  content: "新着記事一覧 ";
}
.hpps a.post::after {
  content: "解説記事 ";
}
.hpps a:hover {
  opacity: 1;
}

@media (min-width: 701px) {
  .hpps > div { flex: 0 0 32%; }
  .hpps li { padding: 10px 5px; }
  .hpps .hd-img { flex: 0 0 70px; }
}
@media (max-width: 700px) {
  .hpps { flex-wrap: wrap; }
  .hpps > div { flex: 0 0 100%; }
  .hpps li { padding: 5px; }
  .hpps .hd-img { flex: 0 0 50px; }
}


/* category ---------------------------------------- */
@media (min-width: 501px) {
  .hcats .hd-column { 
    column-count: 2;
    column-gap: 20px;
  }
}
@media (max-width: 500px) {
  .hcats .hd-column { column-count: 1; }
}
.hcats .hd-ttl a {
  padding: 2px 0 3px;
}
.hcats .hd-list {
  padding: 7px 0;
}
.hcats-child {
  flex: 0 1 100%;
}
.hcats-child p:not(.no-after) a span::after {
  content: " 新着記事一覧";
  font-weight: unset;
  font-size: .85em;
}
.hcats-child > ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2%;
}
.hcats-child li {
  white-space: nowrap;
}
@media (min-width: 701px) {
  .hcats .hd-img { flex: 0 0 80px; margin-right: 5px; }
  .hcats-child li { flex: 0 0 49%; }
}
@media (min-width: 501px) and (max-width: 700px) {
  .hcats .hd-img { flex: 0 0 50px; }
  .hcats-child li { flex: 0 0 100%; }
}
@media (max-width: 500px) {
  .hcats .hd-img { display: none; }
  .hcats-child li { flex: 0 0 49%; }
}
.hcats-child li a {
  position: relative;
  height: auto;
  padding: 2px 0 2px 1em;
  text-indent: -1em;
}
.hcats-child li a::after {
  content: "\f105"; 
  font-family: "icomoon";
  position: absolute;
  top: 0;
  right: 0;
}
.hcats-child li a:hover {
  background-color: rgba(255,255,255,.2);
  opacity: 1;
}
/* 子孫カテ -------------- */
.hcats-child .children {
  margin-left: 1em;
}
/* 著者 ---------------------------------------------- */
.horigin .hd-ttl a {
  padding: 3px 5px;
}
.horigin .hd-column {
  margin-top: 10px;
}
.horigin .hd-img {
  margin-right: 10px;
}
@media (min-width: 701px) {
  .horigin .hd-column { column-count: 3; }
  .horigin .hd-img { flex: 0 0 80px; }
}
@media (min-width: 501px) and (max-width: 700px) {
  .horigin .hd-column { column-count: 2; }
  .horigin .hd-img { flex: 0 0 80px; }
}
@media (max-width: 500px) {
  .horigin .hd-column { column-count: 1; }
  .horigin .hd-img { flex: 0 0 50px; }
}
.horigin li {
  padding-bottom: 10px;
}
.horigin .hd-column a {
  display: flex;
  position: relative;
  padding-right: 20px;
}
.horigin .hd-column a::after {
  content: "\f105"; 
  font-family: "icomoon";
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 1.2em;
}
.horigin .hd-column a:hover {
  background-color: rgba(255,255,255,.2);
  opacity: 1;
}
.horigin .hd-btn {
  padding-top: 1px;
}
.hd-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 150px;
  margin: 10px auto 0;
  padding: 3px;
  font-weight: 500;
  border: solid 1px #fff;
  border-radius: 3px;
}
.hd-btn a::after {
  content: "\0bb";
  font-size: 1.2em;
  padding-left: 3px;
}
.hd-btn a:hover {
  text-decoration: none;
  color: #004EA2;
  background-color: #fff;
  opacity: 1;
}
.horigin .hd-list {
  padding: 7px 0;
}

/* お役立ち ---------------------------------------- */
.hmore .hd-column {
  margin-bottom: 15px;
}
.hmore .hd-column li {
  break-inside: avoid-column;
  page-break-inside: avoid;
  padding: 5px;
  margin-bottom: 10px;
  background-color: #fff;
}
.hmore .hd-column a {
  display: flex;
  align-items: center;
  column-gap: 10px;
  color: #333;
}
.hmore .hd-column li:hover {
  background-color: rgba(255,255,255,.8);
}
.hmore .hd-column a:hover {
  opacity: 1;
}
.more-txt {
  flex: 0 1 100%;
}
.more-txt p:first-child {
  font-weight: 500;
  font-size: 1.6rem;
  margin-bottom: 5px;
}
.more-txt p:last-child {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-y: hidden;
}
.more-img {
  flex: 0 0 100px;
}
.more-img img {
  aspect-ratio: 300 / 250;
  object-fit: cover;
}
@media (min-width: 769px) {
  .hmore .hd-column { column-count: 2; }
}
@media (max-width: 768px) {
  .hmore .hd-column { column-count: 1; }
}
