/* ========================
   共通
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Shippori Mincho", serif;
  font-style: normal;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body, html {
  width: 100%;
  min-height: 100%;
}

body{
  overflow-x: hidden;
  background-color: #f5f5f5;
}

p, h1, h2, h3, a {
  color: #555;
}

a{
  text-decoration: none !important;

}

ul {
  list-style: none !important;
}

a:hover {
  opacity: 0.5;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* メニュー開閉時のスクロール禁止 */
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fade.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   header（固定対応）
======================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  transition: all 0.3s ease;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 22px;
}

.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.flex a {
  color: #fff;
  transition: color 0.3s ease;
}

/* .logo {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.2em;
  z-index: 1002;
  color: #fff;
  transition: color 0.3s ease;
} */

/* ロゴリンク自体のサイズ調整 */
.logo {
  display: inline-block;   /* 横幅いっぱいに広がらないようにする */
  width: auto;             /* 必要なら固定幅にしてもOK */
  max-width: 65px;        /* 任意：ロゴ画像の最大幅 */
}

/* ロゴ画像の調整 */
.logo img {
  display: block;
  width: 100%;   /* .logo の幅に合わせる */
  height: auto;  /* アスペクト比維持 */
}

/* menu */
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  margin-left: 40px;
}

.menu a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

/* ========================
   ハンバーガー共通
======================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px !important;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
  transition: all 0.3s ease;
}

.hamburger span {
  display: block;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  width: 100%;
  transition: all 0.3s ease;
}

/* ハンバーガー開閉時 */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  background: #fff;
  position: relative;
  top: 8px;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  background: #fff;
  position: relative;
  top: -8px;
}
.hamburger span:last-child {
  margin-bottom: 0;
}

/* ========================
   PC（1025px以上）
======================== */
@media (min-width: 1025px) {
  .menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    background: none;
    height: auto;
    width: auto;
  }
  .menu ul {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .menu li {
    margin-left: 40px;
  }

  /* PC専用ヘッダーエフェクト */
  /* header {
    background: #f5f5f5;
  }
  header .flex a,
  header .logo {
    color: #555;
  } */

  /* 50px以上スクロールしたとき */
  /* header.scrolled {
    background: transparent;
  }
  header.scrolled .flex a,
  header.scrolled .logo {
    color: #fff;
  } */
}

/* ========================
   SP・tablet（〜1024px）
======================== */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }
  .logo {
    color: #fff;
  }
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(170, 170, 170, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
    z-index: 1999;
  }
  .menu.active {
    right: 0;
  }
  .menu a {
    color: #fff;
  }
  .menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .menu li {
    margin: 20px 0;
  }
}

/* ========================
   Swiper
======================== */
.swiper {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0; 
}

.swiper-slide {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide picture,
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-pagination {
  position: absolute;
  bottom: 20px !important;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: auto;
}

.swiper-pagination-bullet {
  background: #fff !important;
  opacity: 1;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50%;
}

/* SP */
@media (max-width: 767px) {
  .swiper, .swiper-slide {
    width: 100vw;
    height: calc(100vw * 16 / 9);
  }
  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.swiper-pagination {
  bottom: 30px !important;
}
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .swiper, .swiper-slide {
    width: 100vw;
    height: calc(100vw * 3 / 2);
  }
  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.swiper-pagination {
  bottom: 30px !important;
}
}

/* ========================
   collection
======================== */
section + section {
  border-top: 1px solid #e8e8e8;
}

.product-section {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  /* text-align: center; */
  padding-top: 110px;
}

.product-title {
  font-size: 20px;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.product-grid {
  display: grid;
  gap: 60px 50px;
  justify-content: center;
}

.product-item a {
  display: block;
  text-decoration: none;
}

.product-item img {
  width: 100%;
  /* aspect-ratio: 1/1; */
  aspect-ratio: 3/4;
  object-fit: cover; 
}

.product-name {
  margin-top: 10px;
  font-size: 14px;
  text-align: left;
  letter-spacing: 0.03em;
}

.product-price {
  font-size: 13px;
  margin-top: 5px;
  text-align: left;
  letter-spacing: 0.05em;
}

.shop-link-wrapper a {
  margin: 60px 0 80px;
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  max-width: 200px;
  padding-bottom: 14px;
  color: #555;
  letter-spacing: 0.03em;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  padding-right: 55px;
}

.shop-link-wrapper {
  display: flex;
  justify-content: flex-end;
}

.shop-link-wrapper a:before {
  content: '';
  position: absolute;
  top: 43%;
  right: 4px;
  width: 14px;
  height: 1px;
  background-color: #555;
  transform: translateY(-50%) rotate(30deg);
  transition: right 0.3s ease;
}

.shop-link-wrapper a:after {
  content: '';
  position: absolute;
  top: 53%;
  right: 5px;
  width: 40px;
  height: 1px;
  background-color: #555;
  transform: translateY(-50%);
  transition: right 0.3s ease;
}

.shop-link-wrapper a:before,
.shop-link-wrapper a:after {
  transition: transform 0.5s ease-out; 
}

.shop-link-wrapper a:hover:before {
  transform: translateY(-50%) translateX(10px) rotate(30deg);
}

.shop-link-wrapper a:hover:after {
  transform: translateY(-50%) translateX(10px);
}

.shop-link-wrapper a:hover {
    opacity: 0.6;
}


/* SP（〜767px） */
@media (max-width: 767px) {
  .product-title{
    margin-bottom: 50px;
  }

  .product-section{
    width: 88%;
    margin: 0 auto;
    padding-top: 80px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
    justify-content: center;
  }
  .shop-link-wrapper a {
    margin-top: 65px;
  }
}

/* tablet（768〜1023px） */
@media (min-width: 768px) and (max-width: 1023px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .shop-link-wrapper {
    margin-top: 65px;
  }
}

/* PC（1024px以上） */
@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================
  lesson
======================== */
.text-container {
  text-align: left;
  padding: 0 10%;
  line-height: 2;
  letter-spacing: 0.05em;
}

.text-container p{
  font-size: 14px;
}

.text-container h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.lesson-sp{
  display: none;
}

.row {
    display: flex;
    align-items: center;
  }
  .row.reverse {
    flex-direction: row-reverse;
    margin-bottom: 0px;
  }
  .image-container {
    flex: 0 0 52%;
  }
  .image-container img {
    aspect-ratio: 3/2;
  }
  .text-container {
    flex: 1;
  }

/* tablet（768px〜1024px） */
@media (max-width: 1024px) {
  .lesson-sp{
    display: inline;
  }
  .lesson-sp h3{
    font-size: 14px;
    margin-bottom: 30px;
  }
  .text-container h3{
    display: none;
  }
  #lesson .shop-link-wrapper {
    margin-bottom: 5px;
  }

  #lesson .product-title{
    margin-bottom: 10px;
  }

  #lesson .shop-link-wrapper a{
    margin: 0 0 80px;
  }

  .text-container {
    padding: 40px 0 0;
    position: relative;
    z-index: 0;
  }

  /* rowを縦並びに */
  .row {
    flex-direction: column;
    align-items: flex-start;
  }

  .row.reverse {
    flex-direction: column;
    align-items: flex-start;
  }

  /* 画像とテキストの幅を100%に */
  .image-container,
  .text-container {
    flex: 1 1 auto;
    width: 100%;
  }

  /* 画像をコンテナ幅に合わせる */
  .image-container img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
  }

  /* セクション間の余白 */
  .row + .row {
    margin-top: 30px;
  }
}

/* SP（768px以下） */
@media (max-width: 768px) {
  .text-container {
    padding: 40px 0 10px;
  }
  .text-container h3 {
    font-size: 16px;
  }
  .text-container p {
    font-size: 14px;
  }

  #lesson .shop-link-wrapper a{
    margin: 50px 0 80px;
  }
  /* rowを縦並びに変更 */
  .row {
    flex-direction: column;
    align-items: flex-start; /* 左揃え */
  }

  /* reverseも縦並び */
  .row.reverse {
    flex-direction: column;
    align-items: flex-start;
  }

  /* 画像とテキストの幅を100%に */
  .image-container,
  .text-container {
    flex: 1 1 auto;
    width: 100%;
  }

  /* 画像をコンテナ幅に合わせる */
  .image-container img {
    width: 100%;
    height: auto;
    aspect-ratio: auto; /* 高さ自動調整 */
  }

  /* セクション間の余白調整（任意） */
  .row + .row {
    margin-top: 30px;
  }
}

/* ========================
  information
======================== */
.news-section {
  max-width: 1100px;
}

.section-title {
  font-size: 24px;
  margin-bottom: 30px;
  text-align: left;
}

.news-item {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-left: 20%;
  /* gap: 20px; */
}

.news-date {
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  text-align: left;
  letter-spacing: 0.05em;
  min-width: 100px;
}

.news-content {
  flex: 1;
  text-align: left;
  margin-left: 50px;
}

.news-link {
  font-size: 15px;
  text-decoration: underline;
}

/* tablet（1024px以下） */
@media (max-width: 1024px) {
  #information .product-title{
    margin-bottom: 60px;
  }
  .news-item {
    margin-bottom: 45px;
    gap: 10px;
  }
  .news-content {
    margin-left: 0;
  }
  .news-date {
    margin-bottom: 5px;
  }
  .news-link {
    font-size: 15px;
  }
}

/* SP（768px以下） */
@media (max-width: 768px) {
  #information .shop-link-wrapper a{
    margin: 20px 0 80px;
  }

  .news-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    padding-left: 0;
    gap: 5px;
  }

  .news-date,
  .news-content,
  .news-link {
    text-align: left;
    width: 100%;
  }
  
  .news-date,
  .news-link {
    font-size: 14px;
  }
}

/* ========================
   about
======================== */
.about-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
}

.about-image img {
  width: 100%;
  aspect-ratio: 3/2;
  margin-bottom: 125px;
}

/* --- 画像だけをビューポート幅いっぱいにする --- */
/* .about-section .about-image{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  position: relative;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
} */

/* picture / img / video を幅いっぱいに表示 */
/* .about-section .about-image picture,
.about-section .about-image img,
.about-section .about-image video{
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
} */


.about-text {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.about-text h3 {
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 40px;
  font-weight: 600;
}

.about-text h3 span{
  font-size: 20px;
  font-weight: 600;
}

.about-text p {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

/* tablet（1024px以下） */

@media (max-width: 1024px) {
  .about-text p {
    font-size: 15px;
  }
}

/* SP（768px以下） */
@media (max-width: 768px) {
  .about-section {
    padding: 100px 16px 0;
  }
  .about-image img {
    aspect-ratio: 2/3;
    margin-bottom: 80px;
  }
  .about-text {
  max-width: 75%;
  margin: 0 auto;
  }
  .about-text h3 {
    font-size: 18px;
  }
  .about-text p {
    font-size: 14px;
  }
}

/* ========================
   footer
======================== */
.footer {
  background-color: #adadad;
  padding: 40px 20px;
  text-align: center;
  font-size: 12px;
  margin-top: 50px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #fff;
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.footer-sns a img {
  width: 24px;
  height: 24px;
}

.footer-copy {
  color: #fff;
}

/* SP（768px以下） */
@media (max-width: 768px) {
  .footer {
    padding: 50px 20px;
    font-size: 13px;
    margin-top: 20px;
  }
  .footer-links {
    flex-direction: column;
    gap: 20px;
  }
}
