@charset "UTF-8";

/* ==== root ========================== */
:root {
  --color-black: #4D4D4D;
  --color-white: #FCFCFB;
  --color-navy: #003E72;
  --color-primary: #AFA37D;
  --color-txt-gold: #8D7C47;
  --color-bg: #EFEDE6;
  --color-bg-gray: #F5F5F5;

  --noto-sans: "Noto Sans JP", serif;
  --cormorant: "Cormorant Garamond", serif;
  --zen-old: "Zen Old Mincho", serif;
  --klee-one: "Klee One", serif;

  --line-middle: 2;
  --line-large: 2.4;
}



/*================================================
 *  
 ================================================*/
.philosophy_post {
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 10rem;
}

.philosophy_post.--normal {
  display: block;
  padding-top: 6rem;
}

.philosophy_post.reverse {
  flex-direction: row-reverse;
}

.philosophy_img {
  width: 50.6rem;
  padding-top: 4rem;
}

.philosophy_post .philosophy_img img {
  overflow: hidden;
  object-fit: cover;
  aspect-ratio: 496/330;
}

.philosophy_txt {
  width: 56rem;
}

.philosophy_txt h3 {
  font-size: 2.8rem;
  line-height: 2.5;
  margin-bottom: 4rem;
}



@media screen and (max-width:767px) {
  .philosophy_post {
    padding-top: 0;
  }

  .philosophy_img {
    width: 80%;
    margin: 6rem auto;
  }

  .philosophy_txt {
    width: 100%;
  }

  .philosophy_txt h5 {
    font-size: 3rem;
    padding-bottom: 1.5rem;
  }
}

/*================================================
 *  
 ================================================*/
/* tab */

#service {
  padding-top: 10rem;
}

#overview .serviceTab {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
}

#overview .serviceTab li {
  cursor: pointer;
  background: #D8D8D8;
  color: #B5B3B3;
  width: 26rem;
  height: 5rem;
  display: grid;
  place-content: center;
  font-size: 1.6rem;
  font-weight: 500;
  transition: background-color 0.4s ease, color 0.4s ease;
}

#overview .serviceTab li.active {
  background: var(--color-primary);
  color: var(--color-white);
}

#overview .tab-content {
  background: var(--color-bg);
}

#overview .tab-content ul {
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  transition: opacity 1s ease, visibility 1s ease, height 0s 1s;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(7, 1fr);
}

#overview .tab-content.active ul {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  height: auto;
  transition: opacity 1s ease, visibility 1s ease, height 0s;
  padding: 4rem 3rem;
}

#overview .tab-content ul li {
  background: var(--color-white);
  text-align: center;
  padding: 1.5rem 0;
  min-height: 12.7rem;
}

#overview .tab-content ul li img {
  width: 5.5rem;
  margin: 0 auto;
}


#overview .tab-content ul li p {
  font-size: 1.4rem;
  line-height: 1.5;
  height: 3em;
  display: grid;
  place-content: center;
}


@media screen and (max-width:767px) {


  #overview .serviceTab li {
    width: 27rem;
    height: 5rem;
    font-size: 2.4rem;
  }

  #overview .tab-content ul {
    gap: 1.5rem;
    grid-template-columns: repeat(4, 1fr);
  }

}

@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}


/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}