/*************
ヒーロー
*************/
.hero {
  position: relative;
  padding-top: 60px;
  height: calc(100svh - 70px);
}
.hero-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.hero-text-main {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.hero-text-main h1 {
  font-size: 22px;
  text-align: center;
  line-height: 2;
  text-shadow: 2px 4px 3px rgba(0,0,0,0.2);
}
.hero-text-main p {
  margin-top: 30px;
  font-size: 14px;
  text-align: center;
  line-height: 1.6;
}
.hero-slider {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.3);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.slick-list,
.slick-track {
  height: 100%;
}
/* アニメーション */
@keyframes fadezoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
.add-animation {
  animation: fadezoom 10s 0s both;
}
/* アニメーションここまで */
/********************
ニュースティッカー
********************/
.top-ticker {
  position: relative;
  border-bottom: solid 1px #ccc;
  height: 70px;
  background-color: #fff;
}
.top-ticker-list {
  height: 70px;
}
.top-ticker-item {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-ticker-item a {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  padding: 10px;
  letter-spacing: 0.05em;
}
.top-ticker-list .top-ticker-title {
  font-size: 14px;
}
.top-ticker-list .top-ticker-date {
  color: #999;
  font-size: 14px;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}
.top-ticker i {
  margin-right: 5px;
}
/**************
ページ共通
**************/
.top-contents {
  margin-top: 50px;
}
.top-contents:first-child {
  margin-top: 0;
}
.top-bt {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.top-bt a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #00a496;
  color: #fff;
  border-radius: 30px;
  min-width: 200px;
  height: 50px;
  font-size: 14px;
  font-weight: 500;
  padding: 10px;
  transition: .5s;
}
.top-bt a:hover {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

/****************
コンテンツ１
****************/
.top-one-title {
  margin-bottom: 20px;
}
.top-one-title h2 {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}
.top-one-text p {
  font-size: 14px;
  text-align: center;
}
.top-one-box {
  margin-top: 30px;
}
.top-one-main {
  border: solid 1px #ddd;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}
.top-one-image {
  position: relative;
  height: 200px;
}
.top-one-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.top-one-image h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: aqua;
  text-align: center;
  font-size: 18px;
  padding: 10px;
  width: 100%;
  font-weight: 600;
}
.top-one-main-text {
  padding: 20px;
  flex: 1;
}
.top-one-main-text p {
  font-size: 14px;
}

/****************
コンテンツ2
****************/
.top-two {
  padding: 30px 15px
}
.top-two-title {
  margin-bottom: 20px;
}
.top-two-title h2 {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}
.top-two-text p {
  font-size: 14px;
  text-align: center;
}
.top-two-main {
  margin-top: 30px;
}
.top-two-box {
  margin-bottom: 30px;
  position: relative;
}
.top-two-box:last-child {
  margin-bottom: 0;
}
.top-two-box-link {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 1;
}
.top-two-image {
  position: relative;
  height: 250px;
}
.top-two-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.top-two-num {
  width: 80px;
  height: 80px;
  position: absolute;
  bottom: 0;
  left: calc(50% - 40px);
  background-color: aqua;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 5px;
}
.top-two-num-one {
  font-size: 12px;
}
.top-two-num-two {
  font-size: 16px;
}
.top-two-textbox {
  background-color: aqua;
}
.top-two-box-title {
  border-bottom: solid 1px #ddd;
  text-align: center;
}
.top-two-box-title h3 {
  font-size: 18px;
  font-weight: 600;
  padding: 15px 10px;
}
.top-two-box-text {
  padding: 20px;
}
.top-two-box-text p {
  font-size: 14px;
}

/****************
コンテンツ3
****************/
.top-three-title {
  margin-bottom: 20px;
}
.top-three-title h2 {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}
.top-three-text p {
  font-size: 14px;
  text-align: center;
}
.top-three-main {
  margin-top: 30px;
}
.top-three-image img {
  width: 100%;
  object-fit: cover;
}
.top-three-text-box {
  margin-top: 30px;
}
.top-three-text-box p {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 14px;
}

/****************
コンテンツ4
****************/
.top-four {
  position: relative;
  min-height: 60vh;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.top-four-image {
  position: absolute;
  width: 100%;
  height: 100%;
}
.top-four-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-four-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.1);
}
.top-four-text-box {
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 30px 20px;
}
.top-four-title h2 {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}
.top-four-text {
  display: flex;
  justify-content: center;
}
.top-four-text p {
  font-size: 14px;
  font-weight: 600;
}
.top-four-bt {
  margin-top: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.top-four-bt a {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 2px #fff;
  padding: 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.6s;
}
.top-four-bt a:hover {
  background-color: rgba(255,255,255,0.2);
}

@media screen and (min-width:601px){
  .top-four-bt {
    flex-direction: row;
  }
  .top-four-bt a {
    flex: 1;
  }
}

/****************
アクセス
****************/
.top-ac-title {
  margin-bottom: 20px;
}
.top-ac-title h2 {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}
.top-ac-text p {
  font-size: 14px;
  text-align: center;
}
.top-ac-main {
  margin-top: 30px;
}
.top-ac-list {
  margin-top: 15px;
}
.top-ac-list:first-child {
  margin-top: 0;
}
.top-ac-list h3 {
  border-bottom: solid 1px #ddd;
  font-size: 18px;
  font-weight: 500;
  padding: 10px;
}
.top-ac-list p {
  margin-top: 20px;
  font-size: 14px;
  padding-inline: 10px;
}
.top-ac-map {
  margin-top: 40px;
}
.top-ac-map iframe {
  width: 100%;
  height: 300px;
}

/*******************
お客様の声一覧
*******************/
.top-rev-main-title {
  text-align: center;
  margin-bottom: 20px;
}
.top-rev-main-title h2 {
  font-size: 22px;
  font-weight: 600;
}
.top-rev-slider-main {
  border: solid 1px #ddd;
  margin-right: 1px;
}
.top-rev-slider-main a {
  display: inline-block;
  width: 100%;
  height: 100%;
}
.top-rev-text-box {
  display: flex;
  flex-direction: column;
}
.top-rev-title {
  flex: 1;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: solid 1px #ddd;
}
.top-rev-title h3 {
  font-size: 16px;
  font-weight: 500;
}
.top-rev-company {
  border-bottom: solid 1px #ddd;
}
.top-rev-company,
.top-rev-subject {
  padding: 10px 15px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;

}
.top-rev-slider-main img {
  width: 100%;
  min-height: 200px;
  object-fit: cover;
}
.top-rev .slick-track {
  display: flex;
}
.top-rev .slick-slide {
  height: auto;
}


/*************
お知らせ
*************/
.top-info {
  background-color: aqua;
  padding: 20px;
}
.top-info h2 {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}
.top-info-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.top-info-list li {
  border-bottom: dotted 1px red;
  padding: 0 0 5px 5px;
}
.top-info-list li:last-child {
  border-bottom: none;
}
.top-info-list a {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.top-info-list .date {
  font-size: 12px;
  letter-spacing: 0.01em;
}
.top-info-list .title {
  font-size: 14px;
}

/****************
ブログ一覧
****************/
.top-blog-title {
  margin-bottom: 20px;
  text-align: center;
}
.top-blog-title h2{
  font-size: 22px;
  font-weight: 600;
}
.top-blog-slider-box {
  width: 100%;
}
.top-blog-slider-main {
  width: 300px;
  margin-right: 20px;
  position: relative;
  box-sizing: content-box;
}
.top-blog-link {
  display: block;
  height: 100%;
}
.top-blog-image {
  height: 200px;
  position: relative;
}
.top-blog-cat {
  position: absolute;
  top: 0;
  left: 0;
  height: 40px;
  background-color: aqua;
  z-index: 2;
  border-radius: 0 0 5px 0;
}
.top-blog-cat a {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 10px;
  font-size: 12px;
  letter-spacing: 0.01em;
}
.top-blog-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-blog-text {
  padding: 15px 15px 32px;
  height: 100%;
}
.top-blog-one {
  font-size: 14px;
}
.top-blog-two {
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-size: 12px;
  letter-spacing: 0.01rem;
  margin-top: 10px;
}
.top-blog .slick-track {
  display: flex;
}
.top-blog .slick-slide {
  height: auto;
  background-color: aqua;
}
/**************************
メディアスクリーン834px 
**************************/
@media screen and (min-width:834px){
  /* ヒーロー */
  .hero-text-main {
    gap: 15px;
  }
  .hero-text-main h1 {
    font-size: 28px;
  }
  .hero-text-main p {
    font-size: 16px;
  }
  /* ページ共通 */
  .top-contents {
    margin-top: 90px;
  }
  .top-bt {
    margin-top: 60px;
  }
  /* コンテンツ1 */
  .top-one-title {
    margin-bottom: 40px;
  }
  .top-one-title h2 {
    font-size: 28px;
  }
  .top-one-text p {
    font-size: 16px;
  }
  .top-one-main {
    margin-bottom: 0;
  }
  .top-one-box {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }

  /* コンテンツ2 */
  .top-two {
    padding: 50px 20px;
  }
  .top-two-title {
    margin-bottom: 40px;
  }
  .top-two-title h2 {
    font-size: 28px;
  }
  .top-two-text p {
    font-size: 16px;
  }
  .top-two-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 50px;
  }
  .top-two-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }
  .top-two-textbox {
    border-right: solid 1px #ddd;
    flex-grow: 1;
  }
  
  .top-two-box:nth-of-type(3n) .top-two-textbox {
    border-right: none;
  }

  /* コンテンツ3 */
  .top-three-title {
    margin-bottom: 40px;
  }
  .top-three-title h2 {
    font-size: 28px;
  }
  .top-three-text p {
    font-size: 16px;
  }
  .top-three-main {
    display: grid;
    justify-self: center;
    grid-template-columns: repeat(auto-fit ,minmax(48%,1fr));
    gap: 2%;
  }
  .top-three-text-box {
    margin-top: 0;
  }
  .top-three-text-box p {
    font-size: 16px;
  }

  /* コンテンツ4 */
  .top-four {
    gap: 40px;
  }
  /* アクセス */
    .top-ac-title {
    margin-bottom: 40px;
  }
  .top-ac-title h2 {
    font-size: 28px;
  }
  .top-ac-text p {
    font-size: 16px;
  }
  .top-ac-main {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 30px;
    margin-top: 50px;
  }
  .top-ac-list-box,
  .top-ac-map {
    margin-top: 0;
  }
  .top-ac-list {
    margin-top: 30px;
  }
  .top-ac-list h3 {
  font-size: 20px;
  padding: 0 15px 15px;
  }
  .top-ac-list p {
    margin-top: 20px;
    font-size: 16px;
    padding-inline: 15px;
  }
  .top-ac-map iframe {
    height: 500px;
  }

  /* お客様の声 */
  .top-rev-main-title {
    margin-bottom: 40px;
  }
  .top-rev-main-title h2 {
    font-size: 28px;
  }
  .top-rev-slider-main a {
    width: 100%;
    display: flex;
  }
  .top-rev-image {
    flex: 0 0 400px;
  }
  .top-rev-text-box {
    width: 100%;
  }

  

  /* お知らせ */
  .top-info {
    padding: 30px;
  }
  .top-info h2 {
    font-size: 28px;
  }
  .top-info-list {
    margin-top: 40px;
  }
  .top-info-list li {
    padding: 0 0 10px 10px;
  }
  .top-info-list li a {
    display: flex;
    flex-direction: row;
    justify-content: baseline;
    gap: 20px;
  }
  .top-info-list .date {
    display: flex;
    align-items: center;
    font-size: 14px;
  }
  .top-info-list .title {
    display: flex;
    align-items: center;
    font-size: 16px;
  }
  /* ブログ一覧 */
  .top-blog-title {
    margin-bottom: 40px;
  }
  .top-blog-title h2{
    font-size: 28px;
  }
}

/****************************
メディアスクリーン1100px以上
****************************/
@media screen and (min-width:1100px){
  /* ヒーロー */
  .hero {
    padding-top: 90px;
    height: 100vh;
  }
  .hero-text-main h1 {
    font-size: 32px;
  }
  .hero-text-main p {
    font-size: 18px;
  }

  /* ニュースティッカー */
  .top-ticker {
    top: -100px;
    left: 75px;
    border: none;
    width: 400px;
    overflow: hidden;
    height: 80px;
    border-radius: 10px;
  }
  .top-ticker-list {
    height: 80px;
  }

  .top-ticker-item a {
    flex-direction: row;
    justify-content: left;
    align-items: center;
    height: 80px;
    padding: 20px;
    gap: 10px;
  }
  .top-ticker-list .top-ticker-date {
    margin-bottom: 0;
  }
}