@charset "UTF-8";
/* ---------- about-history ---------- */
.about-history {
  background-color: var(--color-base);
}

.about-history-description {
  border-left: 2px solid var(--color-main);
  padding: 0 0 0 32px;
  margin-inline: auto;
  width: min(85%,1376px);
}
.about-history-image {
  display: flex;
  padding: 64px 0;
  justify-content: center;
}

@media screen and (min-width:768px) {
  .about-history-image {
    padding: 96px;
  }
}

@media screen and (min-width: 992px) {
  .about-history-image {
    padding: 128px 0;
  }
}

.about-history-img {
  width: auto;
  max-height: 150px;
}

@media screen and (min-width: 475px) {
  .about-history-img {
    max-height: 200px;
  }
}

@media screen and (min-width:992px) {
  .about-history-img {
    max-height: 400px;
  }
}

.about-history-img.-img02 {
  animation: aboutHistory01 10s infinite alternate linear;
}
.about-history-img.-img06 {
  animation: aboutHistory02 10s infinite alternate linear;
}
.about-history-img.-img05 {
  animation: aboutHistory01 10s infinite alternate linear;
}
.about-history-img.-img04 {
  animation: aboutHistory02 10s infinite alternate linear;
}
.about-history-img.-img01 {
  animation: aboutHistory01 10s infinite alternate linear;
}
.about-history-img.-img03 {
  animation: aboutHistory02 10s infinite alternate linear;
}

@keyframes aboutHistory01 {
  0%{
    border-radius: 82% 51% 89% 44% / 54% 61% 61% 72%   ;
    translate: 0 0;
    scale: 1;
  }
  50%{
    border-radius: 50%;
  }
  100%{
    border-radius: 52% 49% 24% 79% / 40% 52% 48% 63%   ;
    translate: -20% 10%;
    scale: 1.2;
  }
}

@keyframes aboutHistory02 {
  0%{
    border-radius: 76% 24% 76% 23% / 38% 72% 28% 62% ;
    translate: 0 0;
    scale: 1;
  }
  50%{
    border-radius: 50%;
  }
  100%{
    border-radius: 27% 73% 35% 65% / 62% 32% 67% 39% ;
    translate: 20% -10%;
    scale: 1.2;
  }
}

.about-history-description p+p {
  margin-top: 1.5em;
}

.about-history-text {
  position: relative;
  font-size: clamp(1rem,3vw,2rem);
  font-weight: 500;
  line-height: 1.3;
  text-shadow: 0 0 2px var(--color-base);
}

.about-history-text.-text01,
.about-history-text.-text06 {
  display: flex;
  justify-content: space-between;
  gap: 1em;
}

.about-history-text::before {
  content: "";
  aspect-ratio: 1;
  background-color: var(--color-main);
  border-radius: 50%;
  position: absolute;
  left: -48px;
  transition: scale 0.3s;
  width: 30px;
}

.about-history-text.-current {
  color: var(--color-main);
}

.about-history-text.-current::before {
  content: "";
  animation: aboutHistoryTextCurrent 1s infinite alternate linear;
  scale: 1.3;
}

@keyframes aboutHistoryTextCurrent {
  0%{
    background-color: var(--color-main);
  }
  100%{
    background-color: var(--color-accent);
  }
}

@media screen and (min-width:768px) {
  .about-history-description {
    border-left: 4px solid var(--color-main);
    padding: 0 0 0 48px;
  }
  .about-history-description p+p {
    margin-top: 2em;
  }
  .about-history-text::before {
    left: -72.5px;
    width: 45px;
  }
}

/* ---------- about-gallery ---------- */
.about-gallery {
  background-color: var(--color-base);
}
.about-gallery__inner {
  max-width: 1028px;
  margin-inline: auto;
}

.about-gallery-title {
  color: var(--color-accent);
  font-weight: 900;
  font-size: clamp(1.375rem, 5vw, 3rem);
  text-align: center;
}

.about-gallery-title span {
  font-family: var(--font-english);
  color: var(--color-main);
  text-transform: uppercase;
  display: block;
}

.about-gallery-picture {
  border: 1em solid var(--color-accent);
}

/* ---------- about-message ---------- */
.about-message {
  background-color: var(--color-base);
}
.about-message__inner {
  background-color: var(--color-white);
  border-radius: 1em;
  padding: 1em;
  font-size: clamp(1.25rem, 5vw, 2.25rem);
  font-family: serif;
  line-height: 2;
  letter-spacing: 0.15em;
}

.about-message-title {
  color: var(--color-main);
}

.about-message-text {
  font-size: 0.7em;
  width: 93%;
  margin-inline: auto;
}

.about-message-shopkeeper {
  text-align: right;
  font-size: 0.6em;
  margin-top: 2em;
}