/* ============================================
   JCI 東海地区協議会 - Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Montserrat:wght@400;600;700;800;900&family=Caveat:wght@700&display=swap');

/* ================================================
HERO SLIDER
================================================ */
   .hero {
    position: relative;
    width: auto;
    height: 95vh;
    min-height: 600px;
    overflow: hidden;
    /* background: #fff; */
    /* padding-top: 70px; */
  }
  .top_image{
    width: 88%;
  }
  .pan{
    display: flex;
    align-items: center;
    margin: 30px 0 100px 70px;
    margin-top: 30px;
  }
  .pan img:hover{
    filter: brightness(0) saturate(100%) invert(32%) sepia(94%) saturate(877%) hue-rotate(172deg) brightness(98%) contrast(97%);
  }
  .top_container{
    margin: 0;
  }
  .section-header_1{
    text-align: center;
    margin-bottom: 130px;
    padding-top: 30px;
    font-size: 188px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  .section-header_1::after{
    /* content: ""; */
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    position: absolute;
  }
/* ================================================
  timeline
================================================ */
.timeline li::after {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  width: 24px;
  height: 24px;
  background: #097CC2;
  border-radius: 50%;
}
.border-line {
  position: absolute;
  left: 0.2em;
  top: 0;
  width: 2px;
  height: 0;
  background: #097CC2;
}
.timeline dt {
  color: #097CC2;
  font-size: 18px;
  line-height: 1em;
}
.timeline_img{
  margin: 30px 0;
}
.timeline_end{
  display: flex;
  justify-content: center;
}
.timeline_end img{
  width: 15%;
  margin-right: 300px;
}

/* ============================================
  Staff
  ============================================ */

.staff{
  color: rgba(9, 124, 194, 0.11);
}
.staff::after{
  content: "税理士・スタッフ紹介";
  font-size: 34px;
  bottom: 40px;
  color: rgba(9, 124, 194, 1);
}
.staff_L{
  width: 80%;
  margin: 100px auto 50px;
}
.staff_L_text{
  width: 60%;
  margin: 0 auto;
}
.staff_s{
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  gap: 100px;
  width: 88%;
  margin: 100px auto;
}
.staff_s_item img{
  margin-bottom: 50px;
}
.staff_s_text{
  width: 90%;
  margin: 0 auto;
}
/* ============================================
  Office
  ============================================ */
  .aboutus_office{
    color: rgba(9, 124, 194, 0.11);
  }
  .aboutus_office::after{
    content: "事務所紹介";
    font-size: 34px;
    bottom: 40px;
    color: rgba(9, 124, 194, 1);
  }
  .office_aria table{
    font-size: 18px;
    margin: 0 auto;
    border-collapse: collapse;
  }
  .office_aria tr{
    border-bottom: 1px solid #0C415A;
  }
  .office_aria th{
    color: #097CC2;
    padding: 10px 50px 10px 10px;
    width: 20%;
    vertical-align: top;
  }
  .office_aria td{
    color: #3C3C3C;
    padding: 10px 50px 10px 10px;
  }
  .map_aria{
    background: linear-gradient(to top, rgba(9, 124, 194, .11), rgba(254, 215, 70, .11));
    width: 88%;
    margin: 50px auto;
    padding-bottom: 50px;

  }
  .map_aria p{
    text-align: center;
    padding: 50px 0 30px;
    color: #097CC2;
    font-size: 36px;
    font-family: "Zen Old Mincho";
  }
  .map{
    width: 80%;
    margin: 0 auto;
    display: block;
    height: 458px;
  }


  /* ============================================
   History
   ============================================ */
   .history{
    color: rgba(9, 124, 194, 0.11);
  }
  .history::after{
    content: "70年の系譜";
    font-size: 34px;
    bottom: 40px;
    color: rgba(9, 124, 194, 1);
  }

  .group_01 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
}
.group_01 p {
    margin-bottom: 0px;
}


/* ============================================
   Responsive
   ============================================ */
   @media (max-width: 1024px) {


    
  }
  @media (max-width: 768px) {
    .top_image {
      margin: 0 auto;
      width: 95%;
    }
    .hero {
      padding: 10px 0;
      height: 71vh;
    }
    .hero-slider{
      width: auto;
    }
    .section-header_1{
      font-size: 100px;
      margin-bottom: 100px;
    }
    .image_1_1 {
      margin: 50px auto 100px;
  }
    .timeline_end img {
      width: 55%;
      margin-right: 0;
  }
    .staff_L_text {
      width: 81%;
  }
  .history::after,.aboutus_office::after,.staff::after {
    font-size: 25px;
    top: 130px;
  }
  .staff_L{
    width: 100%;
  }
  .office_aria th {
    padding: 10px 10px 10px 10px;
    width: 30%;
    font-size: 15px;
}
.map{
  margin: 0 auto 20px;
}
.map_aria{
  width: 100%;
}
.map_aria p {
  padding: 10px 0 30px;
  font-size: 25px;
}
.staff_s{
  display: block;
  margin: 0;
  width: 100%;
}
.staff_s_text{
  margin: 0 auto 50px;
  width: 88%;
}
.staff_s_item{
  margin-top: 100px;
}
.timeline dd{
  margin-top: 20px;
  line-height: 1.5rem;
}
.office_aria td{
  font-size: 15px;
}

    .page_2-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: -56px;
    }
 .hero {
  height: 100vh;
 }
     .group_01 p {
        text-align: center;
        font-size: 15px;
        line-height: 2rem;
    }
    
}