@charset "utf-8";

.first-view {
  background-image: url(../image/contents/home/index_main_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 750px;
  margin-top: 121px;
  position: relative;
}

.first-view .character,
.first-view .link-area {
  position: absolute;
}

.first-view .sub-text {
  bottom: calc(100% - 151px);
  position: absolute;
  right: 0;
}

.first-view .character {
  bottom: calc(100% + 5px);
  height: 238px;
  left: 50px;
  overflow: hidden;
  position: absolute;
}

.first-view .link-area {
  background-color: #fff;
  border: 6px solid #49a749;
  bottom: 0;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0 auto auto;
  padding: 40px 25px 40px;
  position: relative;
  right: 0;
  top: 0;
  width: 100%;
}

.first-contents {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  justify-content: center;
  margin: auto;
  max-width: 1200px;
  position: relative;
}

.first-view .logo {
  margin: auto 0 0 auto;
  width: calc(100% - 300px);
}

.first-view .category-list {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  padding: 0;
}

.first-view .category-list .category-item {
  margin-bottom: 15px;
  width: calc(100% / 2 - 5px);
}

.first-view .category-list .category-item.before {
  order: 1;
}

.first-view .category-list .category-item.news {
  order: 2;
}

.first-view .category-list .category-item.now {
  order: 3;
}

.first-view .category-list .category-item.word {
  order: 4;
}

.first-view .category-list .category-item.after {
  order: 5;
}

.first-view .category-list a {
  align-items: center;
  background-color: #e5f0e5;
  background-image: url(../image/base/ico_arrow_right.png);
  background-position: calc(100% - 15px) center;
  background-repeat: no-repeat;
  border-radius: 50px;
  box-sizing: border-box;
  color: #333;
  display: flex;
  font-size: 100%;
  font-weight: 600;
  height: 100%;
  justify-content: flex-start;
/*  padding: 7px 35px 7px 55px; */
  padding: 7px 35px 7px 60px;
  position: relative;
  transition: 0.5s;
  width: 100%;
}

.first-view .category-list .word a {
  background-color: #49a749;
  background-image: url(../image/base/ico_arrow_right_white.png);
  color: #fff;
}

.first-view .category-list a::before,
.tool-list .tool-link::before {
  background-image: url(../image/base/ico_label.png);
  background-position: center;
  background-repeat: no-repeat;
  content: "";
  display: inline-block;
  height: 31px;
  left: 20px;
  margin: 0 5px 0 0;
  position: absolute;
  width: 33px;
}

.first-view .category-list .category-item.news a::before {
  background-image: url(../image/base/ico_newspaper.png);
}

.first-view .category-list .category-item.before a::before {
/*  background-image: url(../image/base/ico_family.png); */
  background-image: url(../image/base/ico_before.png);
  background-size: contain;
}

.first-view .category-list .category-item.now a::before {
/*  background-image: url(../image/base/ico_angel.png); */
  background-image: url(../image/base/ico_now.png);
  background-size: contain;
}

.first-view .category-list .category-item.after a::before {
/*  background-image: url(../image/base/ico_tomb.png); */
  background-image: url(../image/base/ico_after.png);
  background-size: contain;
}

.first-view .category-list .category-item.word a::before {
  background-image: url(../image/base/ico_word_white.png);
}

.first-view .link-area h2 {
  margin: 0;
}

.tool-list {
  list-style: none;
  padding: 0;
}

.tool-list .tool-link {
  align-items: center;
  background-color: #49a749;
  background-image: url(../image/base/ico_arrow_right_white.png);
  background-position: calc(100% - 15px) center;
  background-repeat: no-repeat;
  border-radius: 30px;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  font-size: 107%;
  font-weight: bold;
  justify-content: flex-start;
  margin: 15px auto 10px;
  max-width: 380px;
  padding: 10px 0 5px 75px;
  position: relative;
  transition: 0.5s;
  width: 100%;
}

.tool-list .tool-link::before {
  background-image: url(../image/base/ico_calculate_white.png);
  left: 30px;
  top: 15px;
}

.tool-list .tool-link.check::before {
  background-image: url(../image/base/ico_check_white.png);
}

.tool-list .tool-link.alone::before {
  background-image: url(../image/base/ico_alone_white.png);
}

.first-view .category-list a:hover {
  opacity: 0.5;
  text-decoration: none;
  transition: 0.5s;
}

.link-area .category-area,
.link-area .tool-area {
  position: relative;
  width: calc(45% - 20px);
}

.link-area .tool-area .text-deco {
  color: #d15b5b;
  font-size: 115%;
  padding: 0 4px;
  position: relative;
  top: -1px;
  z-index: 0;
}

.link-area .tool-area .text-deco::before {
  background-color: #f6f691;
  bottom: 0;
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: -1;
}

.link-area .category-area {
  box-sizing: border-box;
  margin: 0 20px 0 20px;
  padding: 0 40px;
  width: calc(55% - 20px);
}

.tool-list .tool-link.simulation {
  background-color: #4fa8a8;
}

.tool-list .tool-link.check {
  background-color: #dc9354;
}

.tool-list .tool-link.alone {
  background-color: #d15b5b;
  margin-bottom: 0;
}

.tool-list .tool-link:hover {
  opacity: 0.5;
  text-decoration: none;
  transition: 0.5s;
}

.tool-list .tool-link .sub-text {
  font-size: 80%;
  line-height: 1em;
  position: relative;
  text-align: left;
  width: 100%;
}

.link-area .category-area .category-catch,
.link-area .tool-area .tool-catch {
  font-size: 90%;
  margin: 20px 0;
}

.link-area .tool-area::before {
  background-color: #d9d4cf;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  width: 2px;
}

.first-view .category-list .category-item:last-child {
  margin-bottom: 0;
}

/* home contents */
.search-bg {
  background-image: url(../image/contents/home/index_search_bg.jpg);
  padding: 40px;
}

.search-bg h2 {
  color: #fff;
  font-size: 170%;
  margin: 0;
  padding: 0;
  text-align: left;
  width: 190px;
}

.search-bg .search-area {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: auto;
  max-width: 800px;
}

.search-bg .search-box {
  width: calc(100% - 200px);
}

.search-bg .search-box .searchform {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.search-bg .search-box .search-input-area,
.search-bg .search-box .search-btn {
  box-sizing: border-box;
  margin: 0;
  padding: 15px 20px;
  width: calc(100% - 140px);
}

.search-bg .search-box .search-input-area {
  border: 0;
  border-bottom-left-radius: 40px;
  border-top-left-radius: 40px;
  padding: 17px 20px;
}

.search-bg .search-box .search-btn {
  background-image: url(../image/base/btnbg_search.png);
  background-position: 30% center;
  background-repeat: no-repeat;
  border-bottom-right-radius: 40px;
  border-top-right-radius: 40px;
  font-size: 125%;
  padding-left: 50px;
  width: 140px;
}

.sns-contents {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: auto;
  max-width: 1000px;
}

.sns-contents .facebook-area,
.sns-contents .twitter-area {
  width: calc(50% - 20px);
}

.facebook-iframe,
.twitter-iframe {
  height: 450px;
}

.twitter-iframe {
  overflow: auto;
}

.sns-area-bg {
/*  background-color: #f1eeec; */
  background-color: #fbfbfb;
  padding: 40px 0;
}

.site-bg {
  background-color: #f1eeec;
  padding: 60px 0 110px;
}

#contents .site-bg h2 {
  margin: 0 0 40px;
}

.site-bg .site-area {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.site-bg .site-area .site-bnr {
  margin: 0 20px;
  max-width: 260px;
  width: calc(100% / 4 - 20px);
}

section.bnr-area {
  background-color: #f5f4f2;
  margin-bottom: -160px;
  padding: 20px 0;
  padding-bottom: 120px;
}

section.bnr-area .bnr-list {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  list-style: none;
  margin: auto;
  max-width: 1200px;
  padding: 0;
  width: 90%;
}

#contents .bnr-list .bnr-item {
  margin: 0 20px 20px 0;
  width: calc(100% / 5 - 16px);
}

#contents .bnr-list .bnr-item:nth-child(5n) {
  margin-right: 0;
}

#contents .bnr-list .bnr-item .bnr-link {
  align-items: center;
  background-color: #fff;
  border: 1px solid #ccc;
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 60px;
  text-align: center;
  width: 100%;
}

.ad-area {
  align-items: center;
  background-color: #fff;
  display: block;
  display: flex;
  height: 90px;
  justify-content: center;
  margin: 30px auto;
  max-width: 728px;
  width: 100%;
}

#contents .ad-area p {
  font-weight: bold;
  letter-spacing: 2px;
  margin: 0;
}

/* column arae */
.column-title {
  border-bottom: 4px solid #49a749;
  margin: auto auto 40px;
  max-width: 1200px;
  width: 90%;
}

#contents p.category-select {
  display: none;
}

#contents .column-title .category-list {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

#contents .column-title .category-item {
  background-color: #e5f0e5;
  border: 3px solid #97c497;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  margin: 0 5px;
  padding: 10px;
  text-align: center;
  transition: 0.5s;
  width: calc(36% / 3 - 10px);
}

#contents .column-title .category-item.active {
  background-color: #49a749;
  border-color: #49a749;
  color: #ffff;
}

#contents .column-title li.category-item.all {
  order: 0;
  width: 7%;
}

#contents .column-title li.category-item.news {
  order: 6;
}

#contents .column-title .category-item.before {
  order: 4;
}

#contents .column-title .category-item.now {
  order: 3;
}

#contents .column-title .category-item.after {
  order: 5;
}

#contents .column-title li.category-item.news,
#contents .column-title li.category-item.taxpaying,
#contents .column-title li.category-item.declare,
#contents .column-title li.category-item.declared {
  width: 16%;
}

#contents .column-title .category-item:hover {
  opacity: 0.5;
  transition: 0.5s;
}

.column-area {
  margin: auto;
  max-width: 1300px;
}

.column-bg {
  background-color: #f1eeec;
  padding: 10px;
}

#contents h2#column-new {
  border: 0;
  font-size: 170%;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 60px auto 40px;
  text-align: center;
}

.column-area .tag-area {
  align-items: stretch;
  background-color: #fff;
  border: 3px solid #69afaf;
  border-radius: 20px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: auto auto 40px;
  max-width: 1100px;
  overflow: hidden;
  padding: 0;
}

.column-area .tag-area .tag-list {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  list-style: none;
  margin: 0;
  padding: 20px 25px 5px;
  width: 80%;
}

#contents .column-area .tag-area .tag-list .tag-item {
  margin: 0 5px 15px;
}

#contents .column-area .tag-area h3 {
  align-items: center;
  background-color: #e1efef;
  border: 0;
  box-sizing: border-box;
  display: flex;
  font-weight: bold;
  height: auto;
  justify-content: center;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 20%;
}

.column-area .tag-area .tag-list .tag-link {
  border: 1px solid #4fa8a8;
  border-radius: 10px;
  box-sizing: border-box;
  color: #4fa8a8;
  font-size: 90%;
  font-weight: 500;
  padding: 5px 10px;
  transition: 0.5s;
}

.column-area .tag-area .tag-list .tag-link:hover {
  opacity: 0.5;
  text-decoration: none;
  transition: 0.5s;
}

.column-list {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: auto;
  max-width: 1200px;
}

.column-list .column-group {
  background-color: #fff;
  margin-bottom: 40px;
  margin-right: 27px;
  max-width: 380px;
  position: relative;
  width: calc(100% / 3 - 18px);
}

.column-list .column-group .photo {
  align-items: center;
  display: flex;
  height: 214px;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

.column-list .column-group .photo .column-thm {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.column-list .column-group:nth-child(3n) {
  margin-right: 0;
}

.column-list .column-group:nth-child(7),
.column-list .column-group:nth-child(8) {
  display: none;
}

.column-list .column-group .photo.thm-none {
  background-color: #49a749;
  background-image: url(../image/base/footer_bg.jpg);
  box-sizing: border-box;
}

.column-list .column-group .photo.thm-none .column-thm {
  object-fit: contain;
}

.column-list .txt {
  box-sizing: border-box;
  padding: 20px 20px 60px;
}

#contents .column-list .ttl a {
  color: #504943;
}

.column-list .thm-none .photo-link {
  box-sizing: border-box;
  display: block;
  height: 100%;
  padding: 30px;
  width: 100%;
}

.column-list.new-list .column-group .photo {
  height: 155px;
}

#contents .column-group .main-category:hover {
  opacity: 0.5;
  transition: 0.5s;
}

#contents .column-list .tag-list {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  list-style: none;
  margin-bottom: auto;
  margin-top: 0;
  padding: 0;
}

#contents .column-list .tag-list .tag-item {
  font-size: 90%;
  margin: 0 20px 15px 0;
}

#contents .column-list .tag-list a {
  border: 1px solid #4fa8a8;
  border-radius: 10px;
  box-sizing: border-box;
  color: #4fa8a8;
  display: block;
  padding: 0 10px;
  transition: 0.5s;
}

#contents .column-list .tag-list a:hover {
  opacity: 0.5;
  text-decoration: none;
  transition: 0.5s;
}

#contents .column-list .day {
  align-items: center;
  color: #555;
  display: flex;
  flex-wrap: wrap;
  font-size: 15px;
  justify-content: flex-end;
  margin: 5px 0 0;
}

.column-list .day .txt {
  padding: 0 10px 0 0;
  text-align: right;
  width: calc(100% - 125px);
}

#contents .column-group h3.ttl {
  border: 0;
  color: #333;
  font-size: 115%;
  font-weight: bold;
  margin: 0 0 20px;
  min-height: 95px;
  padding: 0;
}

#contents .column-group .main-category {
  background-color: #49a749;
  border-radius: 10px;
  color: #fff;
  display: block;
  max-width: max-content;
  padding: 2px 20px;
  transition: 0.5s;
}

#contents .column-group .sub-category {
  border: 1px solid #3ca4a4;
  border-radius: 10px;
  box-sizing: border-box;
  color: #3ca4a4;
  display: block;
  padding: 2px 20px;
  width: max-content;
}

.column-list .post-link {
  background-image: url(../image/base/ico_arrow_right.png);
  background-position: 90% center;
  background-repeat: no-repeat;
  border: 2px solid #49a749;
  border-radius: 18px;
  box-sizing: border-box;
  color: #49a749;
  font-weight: bold;
  left: 0;
  letter-spacing: 2px;
  margin: auto;
  padding: 4px 20px;
  position: absolute;
  right: 0;
  text-align: center;
  top: calc(100% - 60px);
  transition: 0.5s;
  width: 80%;
}

.column-list .post-link:hover {
  opacity: 0.5;
  text-decoration: none;
  transition: 0.5s;
}

.column-list.new-list .column-group {
  background-color: #f8f5f5;
  width: calc(100% / 4 - 21px);
}

.column-list.new-list .column-group:nth-child(3n) {
  margin-right: 27px;
}

.column-list.new-list .column-group:nth-child(4n) {
  margin-right: 0;
}

@media screen and (max-width: 1100px) {
  .first-view {
    height: auto;
  }

  .link-area .category-area,
  .link-area .tool-area {
    margin: 0 0 50px;
    padding: 0;
    width: 100%;
  }

  .link-area .tool-area {
    margin-bottom: 0;
  }

  .first-contents {
    padding: 60px 40px 40px;
  }

  .link-area .tool-area::before {
    bottom: calc(100% + 20px);
    height: 2px;
    width: 100%;
  }
}

/* view-959 Mobile,Tablet */
@media screen and (max-width: 959px) {
  .first-view {
    height: auto;
    margin-bottom: 0;
    margin-top: 80px;
    padding: 40px 10px;
  }

  .first-contents {
    padding: 0;
  }

  .first-view .link-area {
    margin-top: 50vw;
    max-width: none;
    padding: 20px 10px;
  }

  .first-view .sub-text {
    bottom: calc(100% - 10vw);
    width: 40%;
  }

  .first-view .character {
    align-items: center;
    display: flex;
    height: 60vw;
    justify-content: center;
    left: 0;
    margin: 0 auto;
    right: 0;
    width: 70vw;
  }

  .first-view .character img {
    height: auto;
    width: 100%;
  }

  .first-view .logo {
    width: 100%;
  }

  .search-bg .search-area {
    flex-wrap: wrap;
  }

  .search-bg .search-box {
    margin-top: 25px;
    width: 100%;
  }

  #contents h3.subcategory-ttl {
    width: 100%;
  }

  .subcategory-area .subcategory-list {
    width: 100%;
  }

  #contents .column-title .category-list {
    flex-wrap: wrap;
    margin: 20px auto 0;
    width: 100%;
  }

  .first-view .category-list .category-item.now {
    order: 2;
  }

  .first-view .category-list .category-item.after {
    order: 3;
  }

  .first-view .category-list .category-item.news {
    order: 4;
  }

  .first-view .category-list .category-item.word {
    order: 5;
  }

  #contents .column-title .category-item,
  #contents .column-title li.category-item.all,
  #contents .column-title li.category-item.news,
  #contents .column-title li.category-item.taxpaying,
  #contents .column-title li.category-item.declare,
  #contents .column-title li.category-item.declared {
    border: 0;
    border-bottom: 2px solid #49a749;
    border-radius: 0;
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
  }

  #contents p.category-select {
    background-color: #49a749;
    border-radius: 40px;
    color: #fff;
    display: block;
    margin-bottom: 0;
    padding: 10px;
    pointer-events: none;
    position: relative;
    text-align: center;
  }

  #contents p.category-select.active::before {
    transform: rotate(180deg);
    transition: 0.5s;
  }

  #contents p.category-select::before {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #fff;
    bottom: 0;
    content: "";
    display: none;
    height: 0;
    margin: auto;
    position: absolute;
    right: 20px;
    top: 0;
    transition: 0.5s;
  }

  .column-title {
    border: 0;
  }

  #contents .column-title .category-list.active {
    box-sizing: border-box;
    width: 100%;
  }

  .column-list .column-group,
  .column-list .column-group:nth-child(3n) {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto 40px;
    width: 100%;
  }

  .column-list .column-group .photo {
    box-sizing: border-box;
    height: auto;
    width: 100%;
  }

  .column-list .txt {
    box-sizing: border-box;
    width: 100%;
  }

  #contents .column-group h3.ttl {
    height: auto;
    min-height: 0;
  }

  #contents .column-list .data {
    text-align: right;
    width: 85px;
  }

  .column-list.new-list .column-group,
  .column-list.new-list .column-group:nth-child(3n) {
    margin: auto auto 40px;
    width: 90%;
  }

  .column-list.new-list .column-group:nth-child(4n) {
    margin-right: auto;
  }

  #contents .column-area .tag-area h3 {
    padding: 20px;
    width: 100%;
  }

  .column-area .tag-area .tag-list {
    padding: 3vw;
    width: 100%;
  }

  .special-area .bnr-list-main,
  .special-area .bnr-list-3col,
  .special-area .bnr-list-1col {
    justify-content: center;
    margin: auto auto 30px;
    width: 90%;
  }

  .special-area .bnr-item {
    margin-bottom: 30px;
  }

  #contents .special-area h2 {
    margin: 20px 0 30px;
  }

  .special-area .bnr-list-main .bnr-item {
    text-align: center;
    width: 100%;
  }

  .sns-contents .facebook-area,
  .sns-contents .twitter-area {
    margin: 0 auto 30px;
    width: 80%;
  }

  .sns-contents {
    flex-wrap: wrap;
  }

  .site-bg .site-area .site-bnr {
    margin-bottom: 30px;
    width: 100%;
  }

  #contents .bnr-list .bnr-item,
  #contents .bnr-list .bnr-item:nth-child(5n) {
    margin-right: 20px;
    width: calc(100% / 2 - 20px);
  }

  .link-area .tool-area {
    margin-bottom: 0;
    margin-top: 30px;
  }

  .tool-list .tool-link {
    padding: 10px 0 5px 50px;
  }

  .tool-list .tool-link::before {
    left: 15px;
  }

  .first-view .category-list .category-item {
    width: 100%;
  }
}

@media screen and (max-width: 559px) {}

@media screen and (max-width: 414px) {}

@media screen and (max-width: 374px) {
  .tool-list .tool-link {
    font-size: 4.8vw;
    padding: 10px 12vw 5px 17vw;
  }

  .first-view .category-list a::before,
  .tool-list .tool-link::before {
    left: 5vw;
  }

  .search-bg .search-box .search-input-area {
    border-radius: 30px;
    width: 100%;
  }

  .search-bg .search-box .search-btn {
    border-radius: 40px;
    margin: 20px 0;
    padding: 10px 0 10px 10px;
    width: 100%;
  }

  .search-bg,
  .column-bg,
  .contact-bg,
  .site-bg {
    padding: 30px 4vw;
  }

  #contents h2.title-txt {
    font-size: 140%;
    margin: 0 0 20px;
  }

  .search-bg h2 {
    font-size: 140%;
    text-align: center;
  }
}

/*IE*/
@media all and (-ms-high-contrast: none) {}
