/* ---------- Design tokens ---------- */
:root {
  /* Colors — per style guide */
  --c-text: #1c1c1c;
  --c-text-2: #313131;
  --c-text-3: #363636;
  --c-gray-1: #e5e5e5;
  --c-gray-2: #a5a5a5;
  --c-gray-3: #c8c8c8;
  --c-gray-4: #6e6e6e;
  --c-peach: #e89961;
  --c-yellow: #f9e6a9;
  --c-green: #9dc49f;
  --c-blue: #2d66a5;
  --c-pink: #d0a6a5;
  --c-red: #8c2f33;
  --c-bg: #ffffff;
  --c-bg-dark: #2b2b2b;
  --c-border: #e2ded6;

  /* Fonts */
  --f-ja: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-en: "Aoboshi One", "Shippori Mincho B1", serif;

  /* Font Sizes */
  --fs-1: 18px;
  --fs-2: 16px;
  --fs-3: 14px;
  --fs-4: clamp(1.8rem, 1.8rem + 0.2vw, 2rem);

  /*button font size*/
  --fs-btn: clamp(1.6rem, 1.6rem + 0.2vw, 1.8rem);

  /* Letter spacing */
  --ls-ja: 0.05em;
  --ls-en: 0.15em;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout padding — scales with screen */
  --pad-x: clamp(20px, 4vw, 120px);
  --pad-x-lg: clamp(40px, 6vw, 120px);
  --pad-x-xl: clamp(60px, 6vw, 130px);

  --pad-section: clamp(30px, 8vw, 160px);

  --pad-y-xs: clamp(20px, 3vw, 30px);
  --pad-y-sm: clamp(30px, 3vw, 50px);
  --pad-y: clamp(40px, 4vw, 60px);
  --pad-y-md: clamp(45px, 5vw, 65px);
  --pad-y-lg: clamp(50px, 6vw, 70px);
  --pad-y-lg: clamp(60px, 7vw, 90px);

  /* Fluid px token: 1 design-unit ~= 1px at 1600px viewport, scaling linearly. */
  --px: min(0.0625vw, 1.3px);
}

/*Clip content that exceeds 2 lines*/
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.link-btn .section-header__text {
  font-size: var(--fs-btn);
  font-weight: bold;
  color: var(--c-text-3);
}

.hero {
  position: relative;
  top: -160px;
}

.page-top {
  min-height: 94vh;
  line-height: 1.8;
  letter-spacing: var(--ls-ja);
  font-family: var(--f-ja);
}

.hero-vertical-text {
  position: absolute;

  bottom: -10%;
  left: 70%;

  transform: translateY(-50%);

  margin: 0;
  font-weight: bold;
  writing-mode: vertical-rl;
  text-orientation: upright;

  font-size: 25px;
  line-height: 1.8;

  font-family: var(--f-ja);

  color: #363636;

  z-index: 5;
}

.hero-vertical-text-sub {
  margin-top: 30px;
}

.hero-heading {
  margin: 0;
  display: flex;
  justify-content: center;
}

.hero-blob {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translateY(-50%);

  width: 480px;
  aspect-ratio: 1 / 1;

  overflow: hidden;

  border-radius: 58% 42% 45% 55% / 42% 38% 62% 58%;

  animation: blobMorph 12s ease-in-out infinite;
}

.blob-img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;

  opacity: 0;

  animation: smoothFade 18s infinite;
}

.img1 {
  animation-delay: 0s;
}

.img2 {
  animation-delay: 6s;
}

.img3 {
  animation-delay: 12s;
}

@keyframes smoothFade {
  0% {
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  33% {
    opacity: 1;
  }

  41% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes blobMorph {
  0%,
  100% {
    border-radius: 58% 42% 45% 55% / 42% 38% 62% 58%;
  }

  25% {
    border-radius: 48% 52% 38% 62% / 52% 45% 55% 48%;
  }

  50% {
    border-radius: 62% 38% 58% 42% / 35% 58% 42% 65%;
  }

  75% {
    border-radius: 40% 60% 52% 48% / 60% 40% 60% 40%;
  }
}

@keyframes blobMorph {
  0%,
  100% {
    border-radius: 58% 42% 45% 55% / 42% 38% 62% 58%;
  }

  25% {
    border-radius: 48% 52% 38% 62% / 52% 45% 55% 48%;
  }

  50% {
    border-radius: 62% 38% 58% 42% / 35% 58% 42% 65%;
  }

  75% {
    border-radius: 40% 60% 52% 48% / 60% 40% 60% 40%;
  }
}

/* News Section  */
.news-section {
  padding-top: var(--pad-x);
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  padding-bottom: clamp(180px, 10vw, 220px);

  position: relative;

  isolation: isolate;
}

.news-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -80px;
  background-image: url("../img/common/background-pattern.jpg");
  background-repeat: repeat;
  background-size: 280px 280px;
  /* opacity: 0.32; */
  z-index: -1;
  pointer-events: none;
}
.news-section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.section-header__left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.section-header__link {
  display: flex;
  align-items: center;
  gap: 12px;

  text-decoration: none;
  color: inherit;
}

.section-header__text {
  font-size: 18px;
  font-weight: bold;
}

.back-link__flower img {
  width: 100%;
  height: auto;
  display: block;
}

/*News Section Resposive */

.news-link-btn__sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .section-header .section-header__link {
    display: none;
  }

  .news-link-btn__sp {
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }

  .section-header__left {
    flex-direction: column;
    gap: 2px !important;
    align-items: flex-start;
  }
  .hero {
    top: -140px;
  }
}

/*Intro Section*/

.rel-zone {
  position: relative;
}

.intro {
  position: relative;
  background: #fff;
  /* max-height: clamp(146rem, 150vh, 160rem); */
}
.intro-title {
  margin-bottom: 80px;
}
.intro-title__inner {
  position: relative;
}
.intro-title__heading {
  font-family: var(--f-en);
  font-size: clamp(40px, 5vw, 60px);
  letter-spacing: var(--ls-en);
  line-height: 1;
  color: var(--c-text-3);
}
.intro-title__sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-family: var(--f-ja);
  font-weight: bold;
  font-size: 18px;
  line-height: 1.8;
  color: var(--c-text-3);
}

.intro__inner {
  position: relative;
  padding-left: var(--pad-section);
  padding-right: 0;
}

.intro__main-visual {
  position: relative;
  height: 400px;
  transform: translateY(-80px);
  overflow: hidden;
  z-index: 1;
}

.intro__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.intro__vertical-copy {
  position: absolute;
  top: 10%;
  margin-left: 40px;
  z-index: 5;
}

.intro__vertical-copy img {
  width: 180px;

  display: block;
  z-index: 5;
}

.intro__content {
  width: 42vw;
  font-size: var(--fs-4);
  margin: 0 0 0 300px;
}

.intro__content p {
  font-size: 18px;
  line-height: 2.5;
  text-align: justify;
}

.intro__cta {
  margin-top: 35px;
}

.intro__sub-image,
.intro__dots--1 {
  position: relative;
}

.intro__flower-decoration {
  position: absolute;
}
.intro__sub-image--1 {
  width: clamp(340px, 33vw, 520px);
  /* margin-right: clamp(120px, 8vw, 140px); */
  margin-right: auto;
  margin-left: auto;
  right: -300px;
  top: -80px;
}

.intro__sub-image--2 {
  width: clamp(240px, 29vw, 440px);
  top: -90px;
  margin-right: auto;
  margin-left: auto;
}

.intro__flower-decoration {
  width: 150px;
  top: 44em;
  margin-left: 10px;
  z-index: 6;
}

.intro__dots--1 {
  width: 120px;
  left: -40px;
  top: -40px;
}

.intro__dots--2 {
  width: 150px;
  margin-right: 5px;
  margin-left: auto;
}

.intro__sub-image img,
.intro__flower-decoration img,
.intro__dots img {
  width: 100%;
  display: block;
}

.intro-sp {
  display: none;
}

/*----Mobile Version--Intro Section---*/
@media screen and (max-width: 900px) {
  .intro {
    display: none;
  }

  .intro__inner {
    padding-left: unset;
  }

  .intro__main-visual {
    padding-left: var(--pad-x);
  }

  .intro__vertical-copy {
    top: 10%;
    margin-left: 60px;
  }

  .intro-title {
    margin-bottom: 40px;
    margin-top: 40px;
  }

  .intro-sp {
    display: block;
    position: relative;
    background: #fff;
  }

  .intro__main-visual {
    height: 320px;
  }

  .intro-sp__main-visual > img {
    width: 100%;
    display: block;
  }

  .intro__vertical-copy img {
    width: 65%;
    display: block;
  }

  .intro-sp__content {
    position: relative;
    padding: 0 var(--pad-x);
    z-index: 2;
    margin-top: 10px;
  }

  .intro-sp__flower-image {
    display: flex;
    justify-content: flex-end;

    margin-bottom: 20px;
  }

  .intro-sp__flower-image img {
    width: 90px;
    display: block;
  }

  .intro-sp__text {
    text-align: justify;
    margin: 0 auto;
  }

  .intro-sp__text p {
    font-size: 18px;
    line-height: 2.3;
  }

  /* .intro-sp__text p + p {
    margin-top: 24px;
  } */

  .intro-sp__cta {
    margin: 30px auto;
    text-align: left;
  }

  .intro-sp__sub-image img {
    width: 100%;
    display: block;
  }

  .intro-sp__visual-group {
    width: fit-content;
  }

  .intro-sp__visual-group--1 {
    margin-top: 12px;
    margin-bottom: 12px;
    margin-right: 20%;
    margin-left: auto;
  }

  .intro-sp__visual-group--2 {
    margin-left: auto;
    margin-right: auto;
  }

  .intro-sp__visual-group--1 .intro-sp__sub-image {
    width: 180px;
  }

  .intro-sp__visual-group--2 .intro-sp__sub-image {
    width: 160px;
  }

  .intro-sp__dots {
    position: relative;
  }

  .intro-sp__dots img {
    width: 100%;
    display: block;
  }

  .intro-sp__visual-group--1 .intro-sp__dots {
    top: 0;
    margin-right: -10px;
    margin-left: auto;
    width: 100px;
  }

  .intro-sp__visual-group--2 .intro-sp__dots {
    width: 90px;
    left: -40px;
    top: -40px;
  }
}

/*Section Origianl*/

.original-section {
  padding-top: var(--pad-x-lg);
  padding-left: var(--pad-section);
  padding-right: var(--pad-section);
  padding-bottom: var(--pad-x-lg);

  position: relative;

  isolation: isolate;
}

.original-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../img/common/background-pattern.jpg");
  background-repeat: repeat;
  background-size: 280px 280px;

  z-index: -1;
  pointer-events: none;
}

.original-inner {
  display: grid;
  grid-template-columns: minmax(0, 30%) minmax(0, 70%);

  gap: 40px;

  margin-top: 60px;
}

.original-inner__left p {
  font-size: 18px;
  line-height: 2.4;
  text-align: justify;
}

.original-inner__right {
  min-width: 0;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;
}

.original-card__image {
  aspect-ratio: 1 / 1;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.original-card__image img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  display: block;
}
.original-card__title {
  margin-top: 15px;
  font-weight: bold;
  font-size: clamp(22px, 23px, 25px);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.original-card__link {
  margin-top: 5px;
  font-weight: bold;
  display: inline-block;
  font-size: var(--fs-btn);
  color: inherit;
  text-decoration: none;
}

.original-card__link {
  position: relative;

  display: inline-flex;
  align-items: center;

  padding-right: 28px;

  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #363636;
}

.original-card__link::after {
  content: "";

  position: absolute;
  top: 50%;
  right: 0;

  transform: translateY(-50%);

  width: 16px;
  height: 16px;

  background-image: url("../img/about/arrow.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: all 0.3s ease;
}

.original-card__link:hover {
  opacity: 1;
  color: #a5a5a5;
}

.original-card__link:hover::after {
  transform: translate(4px, -50%);
}

/*Section Original Responsive */

.original-link-btn__sp {
  display: none;
}

/* Tablet: 600px – 900px */
@media screen and (max-width: 900px) and (min-width: 601px) {
  .original-inner__right {
    grid-template-columns: repeat(2, 1fr);
    width: 95%;
    margin: 0 auto;
  }
}

/* Mobile: below 600px */
@media screen and (max-width: 600px) {
  .original-inner__right {
    grid-template-columns: 1fr;
    width: 75%;
    margin: 0 auto;
  }

  .original-card__image {
    width: 215px;
    aspect-ratio: 1 / 1;
  }
}

@media screen and (max-width: 900px) {
  .link-btn {
    display: none;
  }
  .original-inner {
    grid-template-columns: 1fr;
  }

  .original-card {
    padding: 20px 0;
    width: fit-content;
    margin: 0 auto;
  }

  .section-header .section-header__link {
    display: none;
  }

  .original-link-btn__sp {
    display: flex;
    justify-content: center;
  }

  .original__link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  .original__link:hover {
    opacity: 0.7;
    transform: translateY(-2px);
  }

  .original__text {
    font-weight: bold;
    font-size: 18px;
  }

  .arrow-icon img {
    width: 40px;
    height: auto;
    display: block;
  }
}

/*Section Shop*/
.shop-section {
  padding: var(--pad-y-lg) var(--pad-section);
  background: #fff;
}

.shop-section__header {
  text-align: center;
}

.shop-section__header .page-title__sub {
  justify-content: center;
}

.shop-inner {
  margin: clamp(30px, 4vw, 50px) auto 0;
  display: flex;
  justify-content: space-between;
  width: 80%;
  padding-bottom: 50px;
  border-bottom: 1px dashed #363663;
}

.shop-inner__left {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
}

.shop-inner__left {
  display: flex;
  align-items: end;
}
.shop-inner__info {
  margin-top: 0;
  margin-bottom: auto;
}

.shop-inner__image {
  width: 45%;

  flex-shrink: 0;
}

.shop-inner__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}

.shop-inner__title {
  margin-bottom: 25px;
  font-weight: bold;
  color: #313131;
  font-size: 30px;
}

.shop-inner__text {
  font-size: 18px;
  white-space: nowrap;
}

.shop-inner__right {
  display: flex;
  align-items: end;
}

.shop__link {
  margin: 40px 0;
  text-align: center;
}

.shop__cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 32px);
  width: 80%;
  margin: 0 auto var(--pad-y);
}

/*Shop Section Responsive*/

@media screen and (max-width: 900px) {
  .shop-section__header {
    text-align: left;
  }

  .shop-section__header .page-title__sub {
    justify-content: left;
  }

  .shop-inner {
    flex-direction: column;
    gap: 10px;
    max-width: none;
    width: 95%;
  }
  .shop__cta {
    width: 95%;
  }

  .shop-inner__left {
    flex-direction: column;
    align-items: start;
    gap: 30px;
  }

  .shop-inner__info {
    margin: 0;
  }

  .shop-inner__title::after {
    content: " 本店";
  }

  .shop-inner__image {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .shop__cta {
    grid-template-columns: 1fr;
  }
}

.column-section {
  padding: var(--pad-y-lg) var(--pad-section);
}

.column-slider {
  position: relative;
  margin-top: 50px;
}

.column-slider__track {
  display: flex;
  gap: 10px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;

  padding-bottom: 24px;

  scrollbar-width: none;
}

.column-slider__track::-webkit-scrollbar {
  display: none;
}

.column-card {
  flex: 0 0 320px;

  min-width: 0;

  padding: 15px;

  display: flex;
  flex-direction: column;

  color: var(--c-text-2);
}

.column-slider__controls {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 20px;
}

/* Yellow dot on line like scrollbar */
.column-slider__line {
  position: relative;
  width: 100%;
  height: 14px;
  display: flex;
  align-items: center;

  background-image: repeating-linear-gradient(
    to right,
    #ccc 0,
    #ccc 6px,
    transparent 6px,
    transparent 12px
  );
  background-position: center;
  background-repeat: repeat-x;
  background-size: auto 2px;
}

.column-slider__dot {
  position: absolute;
  top: 50%;
  left: 0;

  width: 18px;
  height: 18px;

  background-image: url("../img/common/yellow-dot.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  transform: translate(-50%, -50%);
  transition: left 0.3s ease;

  z-index: 2;
}

.column-slider__buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.column-slider__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #363636;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  transition: background-color 0.3s ease;
}

.column-slider__btn.is-disabled {
  background-color: #bcbcbc;
  pointer-events: none;
}

.column-slider__btn:hover {
  opacity: 0.8;
}

.column-slider__btn img {
  width: 14px;
  height: auto;
  display: block;
}

.texture-zone {
  position: relative;

  isolation: isolate;
}

.texture-zone::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../img/common/background-pattern.jpg");
  background-repeat: repeat;
  background-size: 280px 280px;
  /* opacity: 0.32; */
  z-index: -1;
  pointer-events: none;
}

.column-link-btn__sp {
  display: none;
}

/*Column Section Resposive */

@media screen and (max-width: 768px) {
  .column-slider__track {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    gap: 32px;
    transform: none !important;
    width: 90%;
  }

  .column-slider__track .column-card {
    width: 100% !important;
    flex: none;
  }

  .column-slider__track .column-card__image img {
    width: 100%;
    display: block;
  }

  .column-slider__controls {
    display: none;
  }

  .column-slider__track .column-card:nth-child(n + 4) {
    display: none;
  }

  .column-slider-section {
    padding-bottom: 0;
  }

  .column-link-btn__sp {
    display: flex;
    justify-content: center;
  }
}

/*Section SNS*/

.sns {
  padding: 30px var(--pad-section);
}

.sns-section__header {
  text-align: center;
}

.sns-section__header .page-title__sub {
  justify-content: center;
}

.sns__feed {
  width: 80%;
  margin: 30px auto 10px;
}

.insta-feed-container {
  padding: 20px 40px 0;
  background-color: #fff;
  border-radius: 8px;
}

/*Parallax*/

.parallax-divider {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.parallax-divider__bg {
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: calc(100% + 200px);

  background-image: url("../img/top/parallax1.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  will-change: transform;
}

.footer-image {
  overflow: hidden;
  aspect-ratio: 21 / 7;
}

.footer-image img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
}

@media screen and (max-width: 900px) {
  .parallax-divider__bg {
    background-image: url("../img/top/parallax1_sp.png");
  }

  .parallax-divider {
    height: 340px;
  }

  .footer-image {
    aspect-ratio: 6 / 5;
  }
}

.footer-parallax {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.footer-parallax__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 200px);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  will-change: transform;
}

/*SNS buttons*/
.sns-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-top: 40px;
  margin-bottom: 70px;
}

.sns-link {
  display: flex;
  align-items: center;

  gap: 20px;
  text-decoration: none;
  color: #000;
  transition: opacity 0.3s ease;
}

.sns-link:hover {
  opacity: 0.7;
}

.sns-link__logo img {
  display: block;
  height: auto;
  width: 74px;
}

.sns-link__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.sns-link__sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 2px;
}

.sns-link__break {
  display: inline;
}

.sbi_feedtheme_header_text h3::before {
  content: "やゝInstagram";
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .sns-section__header {
    text-align: left;
  }

  .sns-section__header .page-title__sub {
    justify-content: left;
  }

  .sns__feed {
    width: 100%;
    margin: 30px auto;
  }

  .insta-feed-container {
    padding: 10px 20px;
  }
  .sns-links {
    width: 95%;
    margin-top: 30px;
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .sns-link__break {
    display: block;
  }
}
