@charset "UTF-8";

/*--------------------------------
  greeting
--------------------------------*/
#greeting .star {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(50%);
}
#greeting .grt-txt-wrap {
	gap: 40px;

}
#greeting .grt-txt {
	flex: 1;
}
#greeting .grt-img-wrap {
	width: 320px;
	aspect-ratio: 3 / 4;
	overflow: hidden;
}
#greeting .grt-img-wrap img{
	width: 100%;
	object-fit: contain;
}

#greeting .grt-name {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--color-black-01);
}
#greeting .grt-name-ttl {
  font-family: var(--font-shippori);
  font-size: var(--fs-16);
  letter-spacing: 0.1em;
  font-weight: var(--fw-medium);
  line-height: 1;
}
#greeting .grt-name-name {
  font-family: var(--font-shippori);
  font-size: var(--fs-20);
  letter-spacing: 0.2em;
  font-weight: var(--fw-medium);
  line-height: 1;
}
@media screen and (max-width: 1100px) {
  #greeting .star {
    right: 10%;
    transform: translateX(0);
  }
}
@media screen and (max-width: 960px) {
	#greeting .grt-txt-wrap{
		flex-direction: column;
	}
	#greeting .grt-img-wrap{
		margin-left: auto;
		margin-right: auto;
	}
}

/*--------------------------------
  history
--------------------------------*/
#history .history-list {
  position: relative;
}
/* line */
#history .history-list::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 0;
  left: 170px;
  width: 1px;
  background-color: var(--color-black-02);
  transform: translateX(-50%);
}
#history .history-item {
  display: flex;
  position: relative;
  margin-bottom: 40px;
}
#history .history-item:last-child {
  margin-bottom: 0;
}
#history .history-year {
  width: 170px;
  padding-right: 28px;
  text-align: right;
  font-family: var(--font-shippori);
  font-size: var(--fs-30);
  font-weight: var(--fw-medium);
  line-height: 1;
  flex-shrink: 0;
}
#history .history-year .unit {
  font-family: var(--font-shippori);
  font-size: var(--fs-18);
  font-weight: var(--fw-semibold);
  margin-left: 4px;
}
#history .history-desc {
  padding-left: 28px;
  font-size: var(--fs-16);
  font-weight: var(--fw-semibold);
}
/* dot */
#history .history-item::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 170px;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: var(--color-black-02);
  border-radius: 2px;
}

@media screen and (max-width: 768px) {
  #history .history-list::before {
    left: 8px;
    top: 6px;
  }
  #history .history-item {
    flex-direction: column;
    padding-left: 24px;
    margin-bottom: 24px;
  }
  #history .history-year {
    width: auto;
    text-align: left;
    margin-bottom: 8px;
    font-size: var(--fs-24);
  }
  #history .history-desc {
    padding-left: 0;
  }
  #history .history-item::after {
    left: 8px;
    top: 16px;
  }
}

/*--------------------------------
  philosophy
--------------------------------*/
#philosophy .phil-copy {
  font-size: var(--fs-22);
  color: var(--color-black-02);
  font-family: var(--font-shippori);
}
#philosophy .phil-hd {
  position: relative;
}
#philosophy .phil-hd-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  max-width: 1500px;
  mix-blend-mode: multiply;
  opacity: 0.2;
  z-index: -1;
}
#philosophy .phil-hd-bg img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
#philosophy .phil-logo {
  width: 152px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
#philosophy .phil-imgs img {
  width: calc(100% / 3);
  height: 100%;
}
#philosophy .phil-ud-txt img {
  max-width: 524px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
#philosophy .ud-copy {
  font-size: var(--fs-32);
}
#philosophy .phili-txt {
  font-size: var(--fs-16);
}

#philosophy .phil-imgs img {
  width: calc(100% / 3);
}
#philosophy .phil-imgs img:first-child {
  transform: translateX(8px);
}
#philosophy .phil-imgs img:last-child {
  transform: translateX(-8px);
}
@media screen and (max-width: 960px) {
  #philosophy .phil-logo {
    width: 128px;
  }
  #philosophy .ud-copy {
    font-size: var(--fs-22);
  }
  #philosophy .phil-ud-txt img {
    width: 80%;
  }
}

@media screen and (max-width: 600px) {
  #philosophy .phil-logo {
    width: 100px;
  }
  #philosophy .ud-copy {
    font-size: var(--fs-20);
  }
  #philosophy .phil-imgs {
    width: 110%;
    margin-left: -5%;
  }
  #philosophy .phil-ud-txt img {
    width: 100%;
  }
}

/*--------------------------------
  overview
--------------------------------*/
#overview .overview-item {
  display: flex;
  border-bottom: 1px solid var(--color-gray-03);
  padding: 40px 0;
}
#overview dt {
  width: 96px;
  color: var(--color-black-02);
  font-family: var(--font-shippori);
  font-size: var(--fs-16);
  letter-spacing: 0.1em;
  font-weight: var(--fw-medium);
  flex-shrink: 0;
  text-align: justify;
  text-align-last: justify;
}

#overview dd {
  color: var(--color-black-02);
  font-family: var(--font-shippori);
  font-size: var(--fs-17);
  padding-left: 48px;
  width: calc(100% - 96px);
}
#overview dd p {
  color: var(--color-black-02);
  font-family: var(--font-shippori);
  font-size: var(--fs-17);
}
#overview dd .address-01 {
  border-bottom: 1px solid var(--color-gray-03);
  padding-left: 24px;
  margin-left: -24px;
}

@media screen and (max-width: 768px) {
  #overview .overview-item {
    flex-direction: column;
    padding: 16px 0;
  }
  #overview dt {
    width: fit-content;
    margin-bottom: 4px;
    font-size: var(--fs-16);
    font-weight: var(--fw-bold);
  }
  #overview dd {
    width: 100%;
    padding-left: 0;
    font-size: var(--fs-14);
  }
  #overview dd p {
    font-size: var(--fs-14);
    margin: 0;
  }
  #overview dd .address-01 {
    border-bottom: none;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 0;
    padding-bottom: 12px;
  }
}

/*--------------------------------
 office
--------------------------------*/
#office .office-box .ttl {
  font-size: var(--fs-36);
  font-family: var(--font-shippori);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
#office .office-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 16px;
}
#office .office-box .address {
  gap: 8px 24px;
}
#office .office-box .address p {
  font-family: var(--font-shippori);
  letter-spacing: 0.1em;
  font-size: var(--fs-18);
}
#office .gallery-wrap {
  overflow: hidden;
  position: relative;
  background-color: rgba(255, 255, 255, 0.5);
}
#office .gallery {
  gap: 8px;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}
#office .gallery-item {
  position: relative;
  width: calc((100% - 24px) / 4);
  aspect-ratio: 1 / 1;
}
#office .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1100px) {
  #office .office-box .ttl {
    font-size: var(--fs-24);
  }
  #office .gallery {
    width: 120%;
    margin-left: -10%;
  }
}

@media screen and (max-width: 768px) {
  #office .office-box .address p {
    font-size: var(--fs-14);
  }
  #office .gallery-item {
    aspect-ratio: 2 / 3;
  }
}
