@charset "UTF-8";

/* .hidden {
  display: none;
  transition: all 0.5s;
} */

/* h2 span {
  color: #0e7478;
}

h3 span {
  color: #0e7478;
}

h4 span {
  color: #0e7478;
}

p span {
  color: #0e7478;
}

p.ligth span {
  color: #23a5aa;
} */

header .top-bar {
  background: #333;
  height: 50px;
  color: #fff;
  position: fixed;
  padding: 15px 0;
  width: 100%;
  z-index: 2;
}

/* header .top-bar ul {
  display: flex;
  position: absolute;
  top: 10px;
  right: 10px;
} */

header .top-bar ul li a {
  color: #fff;
}

header .top-bar ul li.company p {
  background-color: #555;
  border: 1px solid #e3d494;
  padding: 5px;
  border-radius: 10px 0 0 10px;
}

header .top-bar ul li.agent p {
  background-color: #555;
  border: 1px solid #e3d494;
  padding: 5px;
  border-radius: 0 10px 10px 0;
  transition: all 0.5s;
}

header .top-bar ul li.agent p:hover {
  background-color: #aa9123;
  transition: all 0.5s;
}

header .top-bar ul li.company p:hover {
  background-color: #aa9123;
  transition: all 0.5s;
}

#header .top-bar .hum .top,
#header .top-bar .hum .mid,
#header .top-bar .hum .bottom {
  background: #aa9123
}

#header .top-bar .hum .text {
  color: #aa9123;
}


#hero {
  position: relative;
}

#hero .hero-box {
  position: absolute;
  top: 16%;
  left: 1%;
}

#hero .hero-box img {
  width: 40vw;
  height: auto;
  object-position: center center;
}

#hero .sub-title-img {
  filter: brightness(70%);
  max-height: 500px;
  object-fit: cover;
}

#hero .sub-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  color: #fff;
}

#hero .sub-title h1 {
  text-align: center;
}

#hero .sub-title h1 span {
  font-size: clamp(0.625rem, 0.489rem + 0.68vw, 1rem);
}

/* #hero .contact-link img.aichan {
  position: fixed;
  top: 10%;
  right: 1%;
  width: 15vw;
  z-index: 1;
}

#hero .contact-link img.coment {
  position: fixed;
  top: 10%;
  right: 12%;
  display: none;
  width: 13vw;
  z-index: 1;
  transition: all 0.5s;
}

#hero .contact-link a:hover img.coment {
  display: block;
  transition: all 0.5s;
} */

#hero .title-logo {
  position: absolute;
  bottom: 5%;
  right: 0;
}

#hero .title-logo img {
  width: 20vw;
}

/* nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  background-color: #333;
  height: 100px;
  align-items: center;
}
nav ul li {
  border-right: 1px solid #fff;
}
nav ul li:last-child {
  border-right: none;
} */

nav ul li a {
  display: block;
  color: #fff;
  text-align: center;
  transition: all 0.5s;
  font-size: clamp(0.625rem, 0.534rem + 0.45vw, 0.875rem);
}

nav ul li a span {
  color: #aa9123;
  font-size: clamp(0.625rem, 0.534rem + 0.45vw, 0.875rem);
}

nav ul li a:hover {
  color: #aa9123;
  transition: all 0.5s;
}



/* ページネーションの汎用スタイル */
.archive-box .archive-info .nav-links ul {
  background: none;
  margin-top: 32px;
}

.archive-box .archive-info .nav-links ul li {
  display: flex;
  padding: 8px;
}

.nav-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav-links li>* {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  height: 45px;
}

.nav-links li>*:not(.dots) {
  width: 45px;
  border-radius: 50%;
  color: #000000;
  background: #efefef;
  transition: color 0.3s ease, background 0.3s ease;
}

.nav-links li>.current,
.nav-links li>a:hover {
  color: #ffffff;
  background: #000000;
}




/* =================================================== */
/* アーカイブ */
/* =================================================== */
#archive {
  padding: 20px;
  background-color: #e3d494;
}

.archive-box {
  background-color: #fff;
  padding: 40px;
  text-align: center;
}

.archive-box .selector-button ul {
  display: flex;
  gap: 20px;
}

.archive-box .selector-button ul li a {
  font-size: clamp(0.625rem, 0.489rem + 0.68vw, 1rem);
  padding: 3px 5px;
}

.archive-box .selector-button ul li a.active {
  /* background-color: #aa9123; */
  color: #aa9123;
  padding: 3px 5px;
  border-radius: 5px;
}

.archive-box .selector-button ul li a:hover {
  color: #aa9123;

  padding: 3px 5px;
  border-radius: 5px;
}

.archive-box .archive-info {
  margin: 60px 0;
}

.archive-box .archive-info ul {
  text-align: center;
}

/* .archive-box .archive-info ul li {
  padding-bottom: 10px;
  margin-bottom: 20px;
} */

.archive-box .archive-info ul li {
  display: grid;
  grid-template-columns: 1fr 1fr 6fr;
  align-items: center;
}

.archive-box .archive-info ul li time {
  font-size: clamp(0.625rem, 0.489rem + 0.68vw, 1rem);
}

.archive-box .archive-info ul li h2 {
  font-size: clamp(1.125rem, 1.034rem + 0.45vw, 1.375rem);
}

.archive-box .archive-info ul li .label {
  max-width: 100px;
  background-color: #aa9123;
  color: #fff;
  text-align: center;
  border-radius: 5px;
}

.archive-box .label a {
  color: #fff;
}

.archive-box .label a:nth-child(1) {
  display: none;
}

.more-button {
  display: inline-block;
  text-align: center;
  position: relative;
  border-bottom: 1px solid #000;
  padding-bottom: 5px;
}

.more-button::after {
  content: "▼";
  position: absolute;
}

/* .news-item.tags a:nth-child(1) {
  display: none;
} */
.news-item.tags a {
  /* background-color: #aa9123; */
  color: #fff;
  /* padding: 5px;
  border-radius: 5px; */
}

.news-item.content a {
  font-size: clamp(1.125rem, 1.034rem + 0.45vw, 1.375rem);
}



@media screen and (max-width: 768px) {
  h1 {
    font-size: clamp(1.5rem, 1.364rem + 0.68vw, 1.875rem);
  }

  .archive-box {
    background-color: #fff;
    padding: 10px;
    text-align: center;
  }

  .archive-box .archive-info {
    margin: 30px 0;
  }

  .archive-box .archive-info ul li {
    padding-bottom: 0px;
    margin-bottom: 0px;
  }

  .archive-box .archive-info ul li .label {
    max-width: 60px;
  }

  .archive-box .archive-info ul li {
    grid-template-columns: 1fr 1fr 6fr;
    gap: 8px;
  }

  .archive-box .archive-info ul li a p.content-text {
    display: none;
  }

  .archive-info dt.news-item {
    font-size: clamp(0.525rem, 0.4rem + 0.68vw, 0.8rem);
  }

  .news-item.tags {
    font-size: clamp(0.525rem, 0.4rem + 0.68vw, 0.8rem);
  }

  .news-item.tags a {
    background-color: #aa9123;
    color: #fff;
    padding: 3px;
    border-radius: 5px;
  }

  .news-item.content a {
    font-size: clamp(0.725rem, 0.589rem + 0.68vw, 1.3rem);
  }

  .sp-contact-box a {
    width: 100%;
    max-width: 240px;
    margin-right: auto;
    margin-left: auto;
    background: #333;
    color: #fff;
    display: block;
    text-align: center;
    border-radius: 10px;
    padding: 10px 0;
  }
}

/* ======================================= */
/* シングルページ */
/* ======================================= */
.archive-box {
  position: relative;
  z-index: 0;
  max-width: 900px;
}

.archive-box .dot {
  position: absolute;
  max-width: 200px;
  top: 0;
  left: 0;
  z-index: -1;
}

.archive-box .info ul {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 20px;
}

.archive-box .info ul .label {
  color: #aa9123;
}

.archive-box .info ul time {
  font-size: clamp(0.625rem, 0.489rem + 0.68vw, 1rem);
}

.news-text {
  padding: 60px 0;
}

.back-img img {
  max-width: 200px;
}

footer {
  background-color: #333;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

/* テスト */
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
/************************************
** 比較表
************************************/
/* 比較表全体 */
.compare-box {
  display: -webkit-box;
  /* 配置 */
  display: -ms-flexbox;
  /* 配置 */
  display: flex;
  /* 配置 */
  max-width: 1300px;
  /* 横幅 */
  margin: 0 auto 2rem;
  /* 余白 */
  border-radius: 4px;
  /* 角丸 */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  /* 影 */
  background: #fef9ed;
  /* 背景色 */
}

/* 左のボックス、右のボックス */
.compare-box .compare-left-wrap,
.compare-box .compare-right-wrap {
  width: 100%;
  /* 横幅半分ずつ */
  overflow: hidden;
  /* はみ出さないように*/
}

.compare-box .top3 {
  height: 570px;
}

/* 左のタイトル、右のタイトル */
.compare-box .compare-left-head,
.compare-box .compare-right-head {
  background: #fdc44f;
  /* 背景色 */
  text-align: center;
  /* 中央寄せ */
  color: #fff;
  /* 文字色 */
  font-weight: bold;
  /* 文字太さ */
  padding: 0em 1em;
  /* 余白 */
  font-size: 15px;
  /* 文字大きさ */
  line-height: 1.5;
  /* 行間 */
  height: 65px;
  /* 縦幅 */
  display: table-cell;
  /* 形式 */
  vertical-align: middle;
  /* 高さ中央寄せ */
  width: 1300px;
  /* 横幅 */
}

/* 左のタイトル */
.compare-box .compare-left-head {
  border-radius: 4px 0 0 0;
  /* 角丸 */
}

/* 右のタイトル */
.compare-box .compare-right-head {
  border-radius: 0 4px 0 0;
  /* 角丸 */
}

/* 左のコンテンツ、右のコンテンツ */
.compare-box .compare-left,
.compare-box .compare-right {
  padding: 1.5em;
  /* 余白 */
  font-size: 15px;
  /* 文字大きさ */
  line-height: 2;
  /* 行間 */
  text-align: justify;
  /* 段落両端 */
  text-justify: inter-ideograph;
  /* 段落両端 */
}

/* 文章 */
.compare-box p {
  padding: 0;
  /* 余白 */
  margin: 0 0 20px 0;
  /* 余白 */
}

/*スマホで見たとき*/
@media screen and (max-width: 480px) {

  /* 左のタイトル、右のタイトル */
  .compare-box .compare-left-head,
  .compare-box .compare-right-head {
    font-size: 12px;
    /* 文字大きさ */
    height: 50px;
    /* 高さ */
  }

  /* 左のコンテンツ、右のコンテンツ */
  .compare-box .compare-left,
  .compare-box .compare-right {
    padding: 1.2em;
    /* 余白 */
    font-size: 12px;
    /* 文字大きさ */
  }
}

/************************************
** 比較表 箇条書き(記号)
************************************/

/************************************
** 比較表ブルー
************************************/
/* 全体 */
.compare-box-blue {
  background: #f2fbff !important;
}

/* タイトル */
.compare-box-blue .compare-left-head,
.compare-box-blue .compare-right-head {
  background: #00bfff !important;
}

/* 箇条書き(記号) 行頭番号 */
.compare-box-blue .list li:before {
  background: #00bfff !important;
}

/* 箇条書き(番号) 行頭番号 */
.compare-box-blue .list-number li:before {
  background: #00bfff !important;
}

/* 箇条書き(記号) */
.compare-box .list {
  list-style: none !important;
  /* 行頭記号リセット */
  padding: 0 !important;
  /* 余白リセット */
  margin: 0 !important;
  /* 余白リセット */
  border: none !important;
  /* 線リセット */
}

/* 箇条書き 行 */
.compare-box .list li {
  border-bottom: 1px dashed #cdcdcd;
  /* 線(太さ 種類　色) */
  position: relative;
  /* 配置 */
  margin: 0.5em 0 !important;
  /* 余白 */
  /* max-width: 500px; */
  /* 横幅 */
  padding: 0 0 0.7em 1.4em !important;
  /* 余白 */
  line-height: 1.8;
  /* 行間 */
}

/************************************
** 比較表グリーン
************************************/
/* 全体 */
.compare-box-green {
  background: #eafaf7 !important;
}

/* タイトル */
.compare-box-green .compare-left-head,
.compare-box-green .compare-right-head {
  background: #2fcdb4 !important;
}

/* 箇条書き(記号) 行頭番号 */
.compare-box-green .list li:before {
  background: #2fcdb4 !important;
}

/* 箇条書き(番号) 行頭番号 */
.compare-box-green .list-number li:before {
  background: #2fcdb4 !important;
}

/* 箇条書き 行最後 */
/* .compare-box .list li:last-child {
  border: none;
} */

/* 箇条書き 行頭記号 */
.compare-box .list li:before {
  background-color: #ffa952;
  /* 色 */
  position: absolute;
  /* 配置 */
  content: "";
  /* 空文字 */
  top: 10px;
  /* 上からの距離 */
  left: 7px;
  /* 下からの距離 */
  width: 7px;
  /* 横幅 */
  height: 7px;
  /* 縦幅 */
  border-radius: 4px;
  /* 角丸 */
}

/*スマホで見たとき*/
@media screen and (max-width: 480px) {

  /* 箇条書き 行頭記号 */
  .compare-box .list li:before {
    top: 9px;
    /* 上からの距離 */
    left: 3px;
    /* 下からの距離 */
    width: 5px;
    /* 横幅 */
    height: 5px;
    /* 縦幅 */
  }
}

/************************************
** 比較表　箇条書き(番号)
************************************/
/* 箇条書き(番号) */
.compare-box .list-number {
  counter-reset: number;
  /* 番号リセット */
  list-style: none !important;
  /* 行頭番号削除) */
  padding: 0 !important;
  /* 余白リセット */
  margin: 0 !important;
  /* 余白リセット */
  border: none !important;
  /* 線リセット */
}

/* 箇条書き(番号) 行 */
.compare-box .list-number li {
  position: relative;
  /* 配置 */
  margin: 0.5em 0 !important;
  /* 余白 */
  max-width: 500px;
  /* 横幅 */
  padding: 0 0 0.5em 1.8em !important;
  /* 余白 */
  line-height: 1.8;
  /* 行間 */
  border-bottom: 1px dashed #cdcdcd;
  /* 線(太さ 種類　色) */
}

/* 箇条書き 行最後 */
.compare-box .list-number li:last-child {
  border: none;
}

/* 箇条書き(番号) 行頭番号 */
.compare-box .list-number li:before {
  counter-increment: number;
  /* 番号 */
  content: counter(number);
  /* 番号 */
  background-color: #fdc44f;
  /* 背景色 */
  color: #fff;
  /* 番号色 */
  position: absolute;
  /* 配置 */
  font-weight: bold;
  /* 文字太さ */
  font-size: 12px;
  /* 文字大きさ */
  border-radius: 50%;
  /* 角丸 */
  left: 0;
  /* 左からの距離 */
  top: 5px;
  /* 上からの距離 */
  width: 18px;
  /* 横幅 */
  height: 18px;
  /* 縦幅 */
  line-height: 18px;
  /* 行間 */
  text-align: center;
  /* 中央寄せ */
}

/* 箇条書き 行頭記号リセット */
.compare-box .list-number li:after {
  content: "";
}

.compare-left-head {
  position: relative;
}

.compare-left-head span {
  position: absolute;
  top: 3px;
  left: 30px;
}

.area-inner .compare-left-head span img {
  width: 50px;
}

.area-inner .group {
  border-radius: 5px;
}

.area-inner .group h3 {
  text-align: center;
  background-color: #2fcdb4;
  color: #fff;
  border-radius: 5px 5px 0 0;
  padding: 10px;
  margin-bottom: 10px;
}

.area-inner .group .group-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.compare-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.compare-left .uk {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.accordion {
  position: relative;
  cursor: pointer;
  transition: all 0.5s ease;
}

.accordion::before,
.accordion::after {
  position: absolute;
  content: "";
  width: 15px;
  height: 2px;
  background-color: #333;
}

.accordion::before {
  top: 48%;
  left: 15px;
  transform: rotate(0deg);
}

.accordion::after {
  top: 48%;
  left: 15px;
  transform: rotate(90deg);
}

.accordion.close::before {
  transform: rotate(45deg);
}

.accordion.close::after {
  transform: rotate(-45deg);
}

.box {
  display: none;
}

.area-box {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

/*tabの形状*/

/* .tab li a {
  display: block;
  background: #ddd;
  margin: 0 2px;
  padding: 10px 5px;
  text-align: center;
  border-bottom: 1px solid #8b8b8b;
  font-size: 0.6rem;
  font-weight: 600;
}

.tab li a:hover {
  color: #fff;
}


.tab li.active a {
  background: #00bfff;
} */

/*エリアの表示非表示と形状*/
.area {
  display: none;
  /*はじめは非表示*/
  opacity: 0;
  /*透過0*/
  background: #fff;
  padding: 50px 20px;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
  display: block;
  /*表示*/
  animation-name: displayAnime;
  /*ふわっと表示させるためのアニメーション*/
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

@keyframes displayAnime {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

#life h2 {
  font-size: 1.5rem;
}

#life .inner-date .compare-left-head {
  font-size: 1.3rem;
}

.accordion::before {
  left: 10px;
}

.accordion::after {
  left: 10px;
}

.compare-box .compare-left-head,
.compare-box .compare-right-head {
  padding: 0em 2em;
}

.sp-contact-box {
  /* display: flex;
  gap: 16px; */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: #ffffff8f;
  justify-content: center;
}

#open01 p {
  width: 100%;
  max-width: 320px;
  background: #333;
  color: #fff;
  display: block;
  text-align: center;
  border-radius: 10px;
  padding: 16px 0;
  position: relative;
}

.sp-contact-box a,
.sp-contact-box #open02 p {
  width: 100%;
  max-width: 320px;
  /* margin-right: auto;
  margin-left: auto; */
  background: #333;
  color: #fff;
  display: block;
  text-align: center;
  border-radius: 10px;
  padding: 16px 0;
}

#contact .contact-box .form .head-title,
#modalContent #contact .contact-box .form .head-title,
#modalContent01 #contact .contact-box .form .head-title {
  background: #bab23f;
  background: linear-gradient(90deg, rgba(186, 178, 63, 1) 0%, rgba(189, 181, 74, 1) 50%, rgba(184, 146, 75, 1) 100%);
  color: #fff;
  margin-top: 24px;
  padding: 8px 16px;
  border-radius: 10px 10px 0 0;
}

#contact .contact-box .form .send input[type="submit"]:hover {
  background-color: #bab23f;
  transition: all 0.5s;
}

@media screen and (max-width: 520px) {
  .nav-links ul {
    gap: 0px;
  }

  .archive-box .archive-info ul li {
    grid-template-columns: 1fr 2fr 8fr;
    gap: 5px;
  }

}
