@charset "utf-8";
/*=======================================================================
TOP
=======================================================================*/
article#top_page {
  padding-top: 200px;
}
.container {
  display: flex;
  flex-direction: column;
}
/*---hero_header-*/
#hero_header {
  height: calc(98dvh - 140px);
  background: url("../img/top/main_image_sp.webp") no-repeat top -520px left -1600px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 80px 15px 0;
  border-radius: 40px;
}
@media screen and (min-width: 376px) and (max-width: 767px) {
  #hero_header {
    background-position: top -400px left -1600px;
  }
}
@media screen and (min-width: 961px) and (max-width: 1280px) {
  #hero_header {
    background: url("../img/top/main_image_sp.webp") no-repeat top -320px left -1000px;
    height: calc(98vh - 100px);
    margin: 100px 15px 0;
  }
}
@media screen and (min-width: 1281px) {
  #hero_header {
    background: url("../img/top/main_image.webp") no-repeat top center;
    height: calc(100vh - 160px);
    order: 1;
    margin: 40px 40px 0;
    background-size: cover;
  }
}
#hero_header h2,
#hero_header p {
  color: #fff;
  font-weight: 600;
}
#hero_header h2 {
  font-size: clamp(1.25rem, 1.205rem + 0.23vw, 1.375rem) /*20-22|320-1920*/;
  line-height: 1.8em;
  margin-bottom: 16px;
  letter-spacing: 0.2em;
}
#hero_header p {
  font-size: clamp(0.875rem, 0.85rem + 0.13vw, 1rem) /*14-16|320-1920*/;
  line-height: 1.6em;
}
#hero_header h2 span {
  font-size: clamp(1.375rem, 1.35rem + 0.13vw, 1.5rem) /*22-24|320-1920*/;
  display: block;
  color: #fff;
  font-weight: 900;
  margin-bottom: 16px;
}
#hero_header div {
  margin-left: 2vw;
  margin-right: 2vw;
}
@media screen and (max-width: 375px) {
  #hero_header div {
    margin-left: 3.2vw;
    margin-right: 3.2vw;
  }
  #hero_header h2 {
    letter-spacing: 0;
  }
}
/*---こんなお悩み-*/
#top_problem {
  max-width: 1200px;
  margin: 0 auto;
}
#problems {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.problems li {
  margin-bottom: 48px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  width: 48%;
}
.problems li p {
  font-size: 100%;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111;
  word-break: none;
}
.problems li span.sub {
  font-size: 87.5%;
}
.problems li img {
  border-radius: 16px;
}
#moreBtn {
  position: relative;
}
#moreBtn::after {
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  content: "\f107";
  margin-left: 16px;
}
#moreBtn[aria-expanded="true"]::after {
  content: "\f106";
}
@media screen and (max-width: 960px) {
  .problems li p {
    min-height: 80px;
  }
}
@media screen and (min-width: 961px) {
  .problems li p {
    font-size: 112.5%;
  }
  .problems li span.sub {
    font-size: 100%;
  }
}
/*---トモニ会計の4つの強み-*/
#top_features {
  max-width: 1200px;
}
#top_features .flex_sb {
  align-items: center;
  margin-bottom: 80px;
}
#top_features .flex_sb div:first-of-type {
  max-width: 64%;
}
#top_features .flex_sb div:last-of-type {
  padding: 0 32px;
}
#top_features h4 {
  font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.75rem) /*20-28|320-1920*/;
  line-height: 1.6em;
  color: rgba(30, 71, 122, 1);
  margin-bottom: 16px;
  text-align: center;
}
#top_features .flex_sb div:first-of-type {
  margin: 0 auto 24px auto;
}
@media screen and (min-width: 768px) {
  #top_features .flex_sb {
    display: flex;
  }
  #top_features .flex_sb div:first-of-type {
    max-width: 40%;
  }
}
@media screen and (min-width: 961px) {
  #top_features .flex_sb div:first-of-type {
    max-width: 64%;
  }
}
#top_features img {
  border-radius: 16px;
}
#top_features dt {
  font-size: clamp(1.063rem, 1.038rem + 0.13vw, 1.188rem) /*17-19|320-1920*/;
  color: #111;
  font-weight: 600;
  padding-bottom: 16px;
  text-align: left;
}
#top_features dd {
  color: #4d4d4d;
  font-weight: 400;
}
#top_features dt,
#top_features dd {
  letter-spacing: 0.1em;
}
#top_features dt span {
  display: block;
  font-size: clamp(1.25rem, 1.125rem + 0.63vw, 1.875rem) /*20-30|320-1920*/;
  margin: 2vh 0 3.2vh 0;
  width: 100%;
}
.fukidashi_point {
  position: relative;
  width: fit-content;
  padding: 12px 0;
  border-bottom: 2px solid #2a729f;
}
.fukidashi_point::before {
  content: "";
  position: absolute;
  left: -24px;
  bottom: -13px;
  width: 30px;
  height: 2px;
  transform: rotate(-50deg);
  box-sizing: border-box;
  background-color: #2a729f;
}
.fukidashi_point::after {
  content: "";
  position: absolute;
  left: -23px;
  bottom: -28px;
  width: 8px;
  height: 8px;
  box-sizing: border-box;
  border: 1px solid #fff; /* 背景色と同じ色を指定 */
  border-radius: 50%;
  background-color: #2a729f;
}
@media screen and (min-width: 961px) {
  #top_features .flex_sb {
    margin-bottom: 100px;
  }
  #top_features .flex_sb div:first-of-type {
    width: 40%;
    margin: 0;
  }
  #top_features .flex_sb div:last-of-type {
    width: 58%;
  }
  #top_features dt {
    text-align: left;
  }
  #top_features dt span {
    margin: 2vh 0 3.2vh 1em;
  }
}
/*---トモニ会計のサービス-*/
#top_service {
  max-width: 1200px;
  margin: 0 auto;
}
#top_service ul li:not(ul li ul li) {
  margin-bottom: 64px;
  position: relative;
  padding: 24px 24px 80px 24px;
  border: 1px solid rgba(101, 173, 201, 0.5);
  border-radius: 16px;
}
#top_service dt div {
  font-size: clamp(1.125rem, 1.075rem + 0.25vw, 1.375rem) /*18-22|320-1920*/;
  margin-bottom: 2vh;
  font-weight: 600;
  background: #65adc9;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
  letter-spacing: 0.12em;
  text-align: center;
}
#top_service dd p {
  font-size: 100%;
}
#top_service ul li .btn_navy_long {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  margin: auto;
  width: 96%;
  max-width: 96%;
  font-size: 93.8%;
}
#top_service ul li ul {
  margin-bottom: 24px;
}
#top_service ul li ul li {
  font-size: 108%;
  list-style-type: none;
  letter-spacing: 0.12em;
}
#top_service ul li ul li::before {
  content: "●";
  font-size: 100%;
  color: #65adc9;
  margin-left: -20px;
  margin-right: 4px;
}
#top_service .line_ti {
  margin-bottom: 2vh;
}
@media screen and (min-width: 961px) {
  #top_service ul {
    display: flex;
    justify-content: space-between;
  }
  #top_service ul li {
    width: 32%;
  }
  #top_service ul li:not(ul li ul li) {
    margin-bottom: 24px;
  }
  #top_service dt div {
    min-height: 100px;
  }
  #top_service ul li .btn_navy_long {
    font-size: 1.2vw;
  }
}
@media screen and (min-width: 1025px) {
  #top_service ul li .btn_navy_long {
    width: 320px;
    max-width: 320px;
  }
  #top_service ul li .btn_navy_long {
    font-size: 93.8%;
  }
}
/*---代表者メッセージ-*/
#greeting {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
#greeting img {
  border-radius: 16px;
}
#greeting_top {
  /*min-width: 200px;*/
  min-width: 100%;
  position: absolute;
  /*top: 2%;*/
  top: 4%;
  left: 50%;
  -webkit-transform: translateY(-15%) translateX(-50%);
  transform: translateY(-15%) translateX(-50%);
  text-align: center;
}
@media screen and (min-width: 768px) {
  #greeting_top {
    top: 6%;
  }
}
#greeting_top p {
  font-size: clamp(1.25rem, 1.05rem + 1vw, 2.25rem) /*20-36|320-1920*/;
  color: #fff;
  line-height: 1.6em;
  font-weight: 600;
}
.message p:not(.line_ti) {
  margin-bottom: 1em;
}
.message div:not(dl div) {
  margin-top: 48px;
}
.message .line_ti {
  margin-bottom: 8px;
}
.message dl {
  margin-bottom: 24px;
}
.message dl div {
  display: table;
  margin-bottom: 8px;
  width: 100%;
}
.message dl div dt,
.message dl div dd {
  display: table-cell;
  vertical-align: middle;
}
.message dl div dt {
  width: 36%;
  font-size: clamp(1.125rem, 1.075rem + 0.25vw, 1.375rem) /*18-22|320-1920*/;
  font-weight: 900;
  color: #2980b9;
  border: 1px solid #2980b9;
  text-align: center;
}
.message dl div dd {
  width: 62%;
  background: rgba(41, 128, 185, 0.1);
  line-height: 1.6;
  padding: 1.2% 2%;
  font-size: 93.8%;
}
@media all and (min-width: 768px) {
  .message dl div dt {
    width: 40%;
  }
  .message dl div dd {
    width: 60%;
  }
}
.top_value dl dt span {
  font-size: 75%;
  font-weight: normal;
  display: block;
}
.sign {
  font-weight: 700;
}
.sign span {
  font-size: clamp(1.125rem, 1.1rem + 0.13vw, 1.25rem) /*18-20|320-1920*/;
  margin-left: 8px;
}
.al {
  font-size: 62.5% !important;
  font-weight: normal;
}
.profile {
  max-width: 640px;
  margin: 0 auto;
}
.hata-history {
  border: 1px solid rgba(30, 71, 122, 0.2);
  padding: 12px;
  border-radius: 16px;
  margin-bottom: 16px;
}
.hata-history dt {
  border-bottom: 1px solid rgba(30, 71, 122, 0.2);
  text-align: center;
  padding-bottom: 8px;
  color: #65adc9;
}
.hata-history li {
  margin-bottom: 4px;
  padding-left: 20px;
}
.hata-history li:before {
  content: "●";
  font-size: 100%;
  color: #65adc9;
  margin-left: -20px;
  margin-right: 4px;
}
@media screen and (min-width: 768px) {
  .profile {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 70%;
  }
  .hata-history {
    width: 48%;
  }
}
@media screen and (min-width: 961px) {
  #greeting_top {
    /*top: 10%;*/
    top: 6%;
    -webkit-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-20%) translateX(-50%);
  }
  .message {
    width: 50%;
    max-width: 640px;
    margin: 60px auto;
    line-height: 2.1;
  }
}
/*---沿革-*/
.history {
  overflow: hidden;
  position: relative;
}
.history dt,
.history dd {
  letter-spacing: 0.12em;
}
.history .slide-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}
.history .slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 10px;
}
.history .slide img {
  border-radius: 16px;
}
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 10;
}
.slider-nav:hover {
  background-color: rgba(0, 0, 0, 0.7);
}
.slider-prev {
  left: 0;
}
.slider-next {
  right: 0;
}
.slider-nav i {
  color: #fff;
  font-size: 20px;
}
@media (min-width: 961px) {
  .history .slide-track {
    display: flex;
  }
  .history .slide {
    min-width: 25%;
    padding: 10px;
    box-sizing: border-box;
  }
}
.slider-nav.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/*---お知らせ＆コラム-*/
#top_news {
  max-width: 1200px;
}
#top_news ul {
  border-bottom: 1px solid rgba(30, 71, 122, 0.2);
  margin-bottom: 24px;
}
#top_news ul li {
  margin-bottom: 24px;
}
#top_news ul li a {
  text-decoration: none;
}
#top_news ul li a:hover {
  opacity: 0.7;
}
.news_img {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 640 / 427;
  margin-bottom: 16px;
}
#top_news ul li a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
#top_news ul li a:hover img {
  transform: scale(1.08);
  opacity: 1;
}
.category {
  margin-right: 24px;
  display: inline-block;
  color: #fff;
  padding: 4px;
  min-width: 100px;
  text-align: center;
  border-radius: 8px;
}
.news-ti {
  background: #1e477a;
}
.column-ti {
  background: #65adc9;
}
.news_title {
  font-size: 112.5%;
}
