@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");
/*==================================================
  root
==================================================*/

:root {
  /* color */
  --color-primary: #c50000;
  --color-secondary: #000;
  --color-tertiary: #b89600;

  --color-black: #222;
  --color-white: #fff;
  --color-gray: #777;
  --color-border: #ddd;
  --color-bg: #fbf7f4;

  /* font */
  --font-serif: "Shippori Mincho", serif;
  --font-sans: "Noto Sans JP", sans-serif;

  /* content */
  --content-width: 1200px;
  --content-padding: 32px;

  /* spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 80px;
  --space-xxl: 120px;

  /* radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* transition */
  --transition: 0.3s ease;
}

/*==================================================
  about
==================================================*/

.about-content {
  position: relative;
}

.about-catch {
  position: relative;
  width: 100%;
  background-image: url(../images/wave-black-re.svg);
  background-position: right -10vw bottom -10vw;
  background-size: clamp(300px, 50vw, 800px) auto;
  background-repeat: no-repeat;
}

.about-catch-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  padding: 80px 0 120px 0;
}

.about-catch .about-catch__image {
  width: 50%;
}

.about-catch .about-catch__image img {
  width: 100%;
  height: auto;
}

.about-catch__text {
  padding: 0 20px 20px clamp(20px, 6vw, 75px);
}

@media (max-width: 768px) {
  /* SPサイズ */
  .about-catch-inner {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 30px 0 30px 0;
  }

  .about-catch .about-catch__image {
    width: 100%;
    order: 2;
    padding: 20px;
  }

  .about-catch__text {
    display: contents;
  }
}

.about-catch h2 {
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1;
}

.about-catch p {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 2em;
  font-weight: 500;
  margin-top: 30px;
}

@media (max-width: 768px) {
  /* SPサイズ */
  .about-catch h2 {
    padding: 20px;
    order: 1;
  }

  .about-catch p {
    padding: 0 20px 20px 20px;
    margin-top: 0px;
    order: 3;
  }
}

.about-motto {
  position: relative;
  background-image: url(../images/wave-white.svg), url(../images/paper-black.webp);
  background-position:
    left -100px bottom,
    center top;
  background-size:
    clamp(400px, 45vw, 800px) auto,
    cover;
  background-repeat: no-repeat, repeat;
}

.about-motto .about-motto-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  color: var(--color-white);
  justify-content: space-between;
  padding: clamp(30px, 8vw, 100px) 20px;
}

.about-motto .about-motto-text {
  width: 40%;
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.8em;
  padding-top: clamp(30px, 8vw, 80px);
}

.about-motto .about-motto-box {
  width: 15%;
  display: flex;
  justify-content: center;
}

.about-motto .about-motto-photo {
  width: 45%;
  padding: clamp(20px, 2vw, 25px);
  position: relative;
}

.about-motto .about-motto-photo .photo {
  width: 100%;
  height: auto;
}

.about-motto-title {
  display: flex;
  flex-direction: row-reverse;
  justify-content: start;
  gap: 16px;
}

.about-motto-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.4;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
}

.about-motto-title span {
  writing-mode: vertical-rl;
  color: var(--color-tertiary);
  font-family: var(--font-serif);
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: 1px;
  padding-top: 10px;
}

.about-motto-catch {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 500;
  line-height: 1.4;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
  padding-top: clamp(20px, 6vw, 160px);
}

@media (max-width: 768px) {
  /* SPサイズ */
  .about-motto-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-motto .about-motto-text {
    width: 100%;
    text-align: center;
    order: 3;
  }

  .about-motto .about-motto-box {
    width: 100%;
    order: 1;
  }

  .about-motto .about-motto-photo {
    width: 100%;
    order: 2;
  }

  .about-motto .about-motto-photo img {
    width: 100%;
    max-width: 400px;
    margin-inline: auto;
  }
}

/*----------------------------------------
  greeting
----------------------------------------*/
.about-greeting-box {
  padding: clamp(20px, 16vw, 160px) 20px;
}

.about-greeting-box .about-greeting {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: clamp(20px, 6vw, 80px) clamp(20px, 16vw, 120px);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
  background-image: url(../images/mugentankyu.svg);
  background-repeat: no-repeat;
  background-position: right 60px bottom 150px;
  background-size: 280px auto;
}

@media (max-width: 768px) {
  /* SPサイズ */
  .about-greeting-box {
    padding: clamp(20px, 6vw, 60px) 20px;
  }

  .about-greeting-box .about-greeting {
    padding: clamp(20px, 6vw, 80px) clamp(20px, 6vw, 60px);
    background-position: center bottom 130px;
    background-size: 260px auto;
  }
}

.about-greeting-box .about-greeting .logo {
  width: clamp(140px, 20vw, 200px);
}

.about-greeting-box .about-greeting .logo img {
  width: 100%;
  height: auto;
}

.about-greeting-box .about-greeting h2 {
  width: 100%;
  text-align: left;
  line-height: 1;
  font-weight: 600;
  margin-top: 60px;
  font-size: clamp(26px, 3vw, 32px);
}

.about-greeting-box .about-greeting .en {
  width: 100%;
  text-align: left;
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 600;
  color: var(--color-tertiary);
}

.about-greeting-box .about-greeting .greeting-text {
  width: 100%;
  text-align: left;
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 500;
  line-height: 1.9;
  margin-top: 30px;
}

.about-greeting-box .about-greeting .sign {
  width: 100%;
  display: flex;
  text-align: right;
  align-items: center;
  justify-content: end;
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 600;
  line-height: 1;
  margin-top: 60px;
}

.about-greeting-box .about-greeting .sign img {
  width: clamp(100px, 14vw, 160px);
  height: auto;
  margin-left: 20px;
}

/*----------------------------------------
  image-slider
----------------------------------------*/
.image-slider {
  width: 100%;
  overflow: hidden;
}

.image-slider__track {
  display: flex;
  width: max-content;

  animation: image-loop 40s linear infinite;
}

.image-slider__item {
  width: 22vw;
  aspect-ratio: 330 / 240;
  flex-shrink: 0;
  overflow: hidden;
}

.image-slider__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes image-loop {
  from {
    transform: translateX(-6vw);
  }

  to {
    transform: translateX(calc(-6vw - 132vw));
  }
}

/*----------------------------------------
  about-journey
----------------------------------------*/
.about-journey {
  padding: clamp(20px, 6vw, 80px) 20px;
  background-color: var(--color-white);
}

.about-journey-inner {
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  display: block;
}

.about-journey-inner h2 {
  width: 100%;
  text-align: left;
  line-height: 1;
  font-weight: 600;
  margin-top: 60px;
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 5px;
}

.about-journey-inner .en {
  width: 100%;
  text-align: left;
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 600;
  color: var(--color-tertiary);
}

.about-journey-inner .text {
  width: 100%;
  text-align: left;
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 500;
  line-height: 1.9;
  margin-top: 30px;
}

.about-journey-inner .sign {
  width: 100%;
  display: flex;
  text-align: right;
  align-items: center;
  justify-content: end;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1;
  margin-top: 60px;
}
