/* HEROセクション-------------------------------------------------------------------


----------------------------------------------------------------------------------*/

.hero {
  height: min(100vh, 800px);
  /* 高すぎないように制限 */
  min-height: 600px;
  width: 100%;
  background: var(--sandy-beige);
  display: flex;
  align-items: center;
  justify-content: end;
  padding-right: 50px;
  z-index: 10;
  /* 次のセクションより手前に表示 */
  position: relative;
  overflow: visible;
  /* 画像のはみ出しを許可 */
}

@media screen and (max-width: 750px) {
  .hero {
    height: auto;
    min-height: 70vh;
    padding-right: 0;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 15px;
    /* ヒーローとアバウトの間隔 */
  }
}

.hero-image-container {
  position: relative;
  width: 75%;
  height: 80vh;
  z-index: 10;
}

@media screen and (max-width: 750px) {
  .hero-image-container {
    width: 90%;
    height: 50vh;
    min-height: 300px;
    max-height: 400px;
    margin-top: 40px;
    margin-left: auto;
    margin-right: 5%;
  }
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-bottom-right-radius: 100px; */
  /* border-bottom-left-radius: 100px; */
  border-radius: 100px;
  /* background: url('../images/hero-bg.png') center/cover no-repeat; */
}

.hero-image-overlay {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: clamp(150px, 30%, 400px);
  aspect-ratio: 3 / 2;
  /* 横長（3:2）に調整 */
  background: url('../images/hero-img01.png') center/cover no-repeat;
  /* 同じ画像を指定していますが、別の画像に変更可能です */
  border-radius: clamp(20px, 5vw, 50px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: clamp(4px, 1vw, 8px) solid white;
  z-index: 15;
  transition: transform 0.3s ease-in-out;
  transform: rotate(5deg);
  /* 少し傾ける */
}

.hero-image-overlay:hover {
  transform: translateY(-10px) scale(1.02) rotate(5deg);
}

.hero-image-overlay-2 {
  position: absolute;
  bottom: -10%;
  right: clamp(15%, 22%, 25%);
  width: clamp(120px, 25%, 350px);
  aspect-ratio: 3 / 2;
  /* 横長（3:2）に調整 */
  background: url('../images/hero-img02.png') center/cover no-repeat;
  /* 表示したい画像に変更してください */
  border-radius: clamp(15px, 4vw, 40px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
  border: clamp(3px, 0.8vw, 6px) solid white;
  z-index: 14;
  /* 1つ目のオーバーレイより少し後ろに配置 */
  transition: transform 0.3s ease-in-out;
  transform: rotate(-10deg);
  /* 少し傾ける */
}

.hero-image-overlay-2:hover {
  transform: translateY(-10px) scale(1.02) rotate(-8deg);
}

.hero-image-overlay-3 {
  position: absolute;
  bottom: -5%;
  left: -15%;
  width: clamp(100px, 22%, 300px);
  aspect-ratio: 1;
  /* 幅と高さの比率を1:1に保つ */
  background: url('../images/hero-img03.png') center/cover no-repeat;
  /* 表示したい画像に変更してください */
  border-radius: 50%;
  /* 正円にする */
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.2);
  border: clamp(3px, 0.8vw, 5px) solid white;
  z-index: 16;
  /* 他のオーバーレイより手前に配置 */
  transition: transform 0.3s ease-in-out;
  transform: rotate(8deg);
  /* 少し傾ける */
}

.hero-image-overlay-3:hover {
  transform: translateY(-10px) scale(1.02) rotate(5deg);
}

.hero-content {
  position: absolute;
  top: 45%;
  left: 0;
  /* transform: translate(-50%, -50%); */

  max-width: 800px;
  width: 100%;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* position: relative; */
  z-index: 20;
}

@media screen and (max-width: 750px) {
  .hero-content {
    position: absolute;
    /* 画像の上に重ねる */
    top: 40%;
    left: 0;
    padding: 0 40px;
    align-items: center;
    /* 中央揃えに変更 */
    max-width: 100%;
    z-index: 30;
    /* 画像(z-index:10)の手前に来るように設定 */
    text-align: center;
    /* テキストを中央揃えに */
  }
}

.hero-title {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  color: var(--h1-color);
  font-size: clamp(1.7rem, 5vw, 3rem);
  margin-bottom: 10px;
  font-weight: 500;
  line-height: 1.2;
}

.hero-title span {
  background-color: #ffffff;
  padding: 5px 15px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* PC表示：中央の隙間をなくして一体化させる */
@media screen and (min-width: 751px) {
  .hero-title span:first-child {
    padding-right: 0;
  }

  .hero-title span:last-child {
    padding-left: 0;
  }
}

@media screen and (max-width: 750px) {
  .hero-title {
    flex-direction: column;
    align-items: center;
    white-space: normal;
  }

  .hero-title span {
    width: fit-content;
    margin-bottom: 5px;
    padding: 5px 15px;
    /* モバイルでは左右パディングを維持 */
  }
}


.hero-text p {
  font-size: var(--font-size-p-large);
  display: inline-block;
  color: var(--text-dark);
  background-color: #ffffff;
  margin-bottom: 40px;
}

.hero-btn {
  display: inline-block;
  padding: 18px 45px;
  background: var(--primary-green);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(91, 168, 118, 0.3);
}

.hero-btn:hover {
  background: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 168, 118, 0.4);
}

/* @media screen and (max-width: 450px) { */
/* .hero-title { */
/* font-size: 1.8rem; */
/* } */
/* } */

.r-450 {
  display: none;
}

@media screen and (max-width: 750px) {
  .hero-image-overlay-2 {
    right: 50% !important;
    transform: translateX(50%) rotate(-10deg) !important;
    bottom: -15%;
  }
}



@media screen and (max-width: 450px) {
  .r-450 {
    display: block;
  }

  .hero {
    padding-bottom: 20px;
  }

  /* .hero-image-overlay-2 { */
  /* display: none; */
  /* } */
}

/* 丸いシェイプ */

.shape-left {
  position: absolute;
  top: clamp(120px, 25vw, 300px);
  left: -5%;
  width: clamp(160px, 38vw, 450px);
  height: clamp(140px, 33vw, 400px);
  /* background: linear-gradient(135deg, var(--light-green-1), var(--light-green-2)); */
  background: var(--earthy-brown);
  border-radius: 50%;
  transform: rotate(100deg);
  opacity: 0.2;
  animation: shapeFloat 12s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.shape-right {
  position: absolute;
  top: clamp(-50px, -3vw, -30px);
  right: clamp(-60px, -12vw, -160px);
  width: clamp(100px, 26vw, 300px);
  height: clamp(70px, 17vw, 200px);
  background: var(--earthy-brown);
  opacity: 0.2;
  animation: shapeFloat 6s ease-in-out infinite;
  border-radius: 50% 20% 50% 50%;
  transform: rotate(90deg);
}

.shape-top-left {
  position: absolute;
  top: clamp(-80px, -12vw, -130px);
  left: clamp(-30px, -2vw, -20px);
  width: clamp(100px, 26vw, 300px);
  height: clamp(85px, 22vw, 250px);
  background: var(--light-green-2);
  opacity: 0.2;
  /* animation: shapeFloat 6s ease-in-out infinite; */
  border-radius: 50% 20% 50% 30%;
  /* transform: rotate(deg); */
}



/* ドットパターン */

.dots-pattern {
  position: absolute;
  width: clamp(150px, 20vw, 200px);
  height: clamp(150px, 20vw, 200px);
  opacity: 0.25;
}

.dots-left {
  top: 30%;
  left: 10%;
  background: radial-gradient(circle, #c8b5a0 2px, transparent 2px);
  background-size: clamp(8px, 2vw, 20px) clamp(8px, 2vw, 20px);
}

.dots-right {
  bottom: 20%;
  right: 15%;
  background: radial-gradient(circle, #81c784 2px, transparent 2px);
  background-size: clamp(8px, 2vw, 20px) clamp(8px, 2vw, 20px);
}


@media screen and (max-width: 450px) {
  .dots-right {
    bottom: 30%;
    right: 15%;
  }


}

/* .circle-badge { */
/* position: absolute; */
/* width: 150px; */
/* height: 150px; */
/* background: rgba(91, 168, 118, 0.9); */
/* border-radius: 50%; */
/* display: flex; */
/* align-items: center; */
/* justify-content: center; */
/* color: var(--text-white); */
/* font-size: 32px; */
/* font-weight: bold; */
/* border: 5px solid white; */
/* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
/* left: -30px; */
/* top: 50%; */
/* transform: translateY(-50%); */
/* animation: float 3s ease-in-out infinite; */
/* } */
/*  */
/* @keyframes float { */
/*  */
/* 0%, */
/* 100% { */
/* transform: translateY(-50%) translateY(0); */
/* } */
/*  */
/* 50% { */
/* transform: translateY(-50%) translateY(-20px); */
/* } */
/* } */



/* お知らせセクション -------------------------------------------------------------------
----------------------------------------------------------------------------------*/

.news-section {
  background: var(--sandy-beige);
  padding: 80px 20px;
  /* 上下の余白を多めに */
  position: relative;
  z-index: 5;
}

.news-container {
  max-width: 1000px;
  /* 少し幅を広げる */
  margin: 0 auto;
  background: #fff;
  padding: 30px 50px;
  /* 内側の余白を増量 */
  border-radius: 100px;
  display: flex;
  flex-direction: row;
  /* 横並びに変更 */
  justify-content: center;
  /* 全体を中央寄せ */
  align-items: center;
  /* 垂直方向の中央揃えを保証 */
  gap: 25px;
  /* バッジと文章の間隔 */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(150, 114, 89, 0.1);
}

.news-badge {
  background: var(--primary-green);
  color: #fff;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
}

.news-text {
  font-size: 1.25rem;
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 500;
  text-align: left;
  margin: 0;
  /* マージンを完全にリセット */
  padding: 0;
  /* パディングをリセット */
}

@media screen and (max-width: 900px) {
  .news-container {
    flex-direction: column;
    /* タブレット以下では縦並び */
    padding: 30px 20px;
    border-radius: 40px;
    text-align: center;
  }

  .news-badge {
    padding: 6px 25px;
  }

  .news-text {
    font-size: 1.1rem;
    text-align: center;
  }
}

/* ABOUTセクション */
.about {
  background: var(--sandy-beige);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h3 {
  font-size: clamp(1.2rem, 4vw, var(--font-size-h3));
  color: var(--h3-color);
  margin-bottom: 30px;
  line-height: 1.4;
}

.about-text p {
  font-size: var(--font-size-p);
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}



.feature-item {
  display: flex;
  gap: 20px;
  text-align: center;
}

.feature-icon {
  width: 60px;
  height: 60px;
  /* background: linear-gradient(135deg, var(--light-green-2), var(--light-green-3)); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-white);
  font-size: 28px;
}

@media screen and (max-width: 750px) {
  .feature-icon {
    display: none;
  }
}


.feature-text h4 {
  font-size: var(--font-size-h4);
  color: var(--h4-color);
  margin-bottom: 8px;

}

.feature-text p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;

}


.about-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  /* 比率を固定して歪みを防止 */
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 750px) {
  .about .section-container {
    padding-top: 0;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text {
    order: 2;
  }

  .about-image {
    order: 1;
  }

  .about-image img {
    height: auto;
    /* 固定高さを解除 */
  }

  .about-text h3 {
    margin-bottom: 20px;
  }

  .about-features {
    margin-top: 30px;
    gap: 20px;
  }
}





/* こだわりセクション　--------------------------------------------------


-----------------------------------------------------------------------
*/


.commitment {
  background: #fffef8;
  background: var(--soft-ivory);
  position: relative;
  /* 子要素の絶対配置の基準点にする */

}


.section-header .subtitle {
  font-size: 20px;
  color: #888;
  font-weight: 300;
}

.commitment-item {
  display: flex;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.commitment-item.commitment-item-reverse {
  flex-direction: row-reverse;
}

.commitment-content {
  position: relative;
  text-align: left;
  flex: 1;
  z-index: 100;
}

/* .commitment-badge { */
/* display: inline-flex; */
/* align-items: center; */
/* gap: 15px; */
/* background: linear-gradient(135deg, */
/* var(--primary-green), */
/* var(--primary-green-dark)); */
/* padding: 12px 25px; */
/* border-radius: 50px; */
/* margin-bottom: 25px; */
/* box-shadow: 0 4px 15px rgba(91, 168, 118, 0.2); */
/* } */

.badge-number {
  position: absolute;
  font-family: serif;
  font-style: italic;
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: bold;
  color: var(--text-white);
  color: var(--primary-green);
  opacity: 0.4;
  top: -15%;
  z-index: -1;
}

@media screen and (max-width: 750px) {
  .badge-number {
    top: -5%;
    z-index: -1;
  }
}

@media screen and (max-width: 450px) {
  .badge-number {
    top: -2%;
    z-index: -1;
  }
}


.badge-text {
  font-size: 12px;
  color: #bebebe;
  letter-spacing: 1px;
}

.commitment-content h3 {
  font-size: clamp(1.3rem, 5vw, var(--font-size-h3));
  color: var(--h3-color);
  margin-bottom: 25px;
  line-height: 1.4;
}

.commitment-content p {
  font-size: var(--font-size-p);
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 20px;
}

.commitment-icons {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.round-icon {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.round-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.round-icon.seasonal {
  background: linear-gradient(135deg, #e8f5e9, var(--light-green-1));
}

.icon-item span,
.season-item span {
  font-size: 14px;
  color: var(--text-light);
}

.commitment-stats {
  display: flex;
  gap: 30px;

}

.stat-box {
  max-width: 150px;
  flex: 1;
  background: white;
  padding: 10px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stat-number {
  display: block;
  font-size: 35px;
  font-weight: bold;
  color: var(--primary-green);
  /* margin-bottom: 5px; */
}

.stat-label {
  font-size: 14px;
  color: #888;
}

.season-icons {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.season-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}


.commitment-image {
  flex: 0.8;
  width: 0;
  /* flex-basisに任せる元の設定に戻す */
  aspect-ratio: 3 / 2;
  /* 比率を固定して歪みを防止 */
  object-fit: cover;
  border-radius: 100px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 750px) {

  .commitment-item,
  .commitment-item.commitment-item-reverse {
    flex-direction: column-reverse;
    /* 画像（HTMLで後に記述）を上にする */
    gap: 30px;
    margin-bottom: 60px;
  }

  .commitment-image {
    flex: none;
    width: 100%;
    border-radius: 30px;
    /* モバイルでは角丸を控えめに */
  }

  .commitment-content {
    width: 100%;
  }

  .commitment-stats {
    justify-content: center;
  }


}




/* シェイプ３つ */

.rounded-shape {
  width: 100%;
  height: 100%;
  border-radius: 50% 30% 50% 30%;
  /* animation: shapeFloat 10s ease-in-out infinite; */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  opacity: 0.15;
}

.shape-green-light {
  position: absolute;
  top: 15%;
  left: 0;
  background: var(--earthy-brown);
  width: clamp(300px, 38vw, 450px);
  height: clamp(300px, 38vw, 450px);
}

.shape-green-medium {
  position: absolute;
  top: 54%;
  left: 58%;
  background: var(--light-green-4);
  width: clamp(300px, 41vw, 480px);
  height: clamp(300px, 41vw, 480px);
  transform: translate(-10%, -50%);
}

.shape-green-dark {
  position: absolute;
  top: 65%;
  left: 0;
  background: var(--earthy-brown);
  width: clamp(300px, 43vw, 500px);
  height: clamp(300px, 43vw, 500px);
}

@media screen and (max-width: 450px) {
  .shape-green-light {
    top: 25%;
    left: 5%;
  }

  .shape-green-medium {
    position: absolute;
    top: 59%;
    left: 25%;
  }

  .shape-green-dark {
    top: 80%;
    left: 5%;
  }
}

@keyframes shapeFloat {

  0%,
  100% {
    border-radius: 50% 30% 50% 30%;
    transform: rotate(0deg);
  }

  50% {
    border-radius: 30% 50% 30% 50%;
    transform: rotate(5deg);
  }
}



/* 土づくりセクション ---------------------------------------------------------


-----------------------------------------------------------------------------*/
.soil-conditioning {
  background: var(--sandy-beige);
  position: relative;
  overflow: hidden;
}

.farm-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}



.farm-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.farm-text-area {

  padding: 40px;
  /* border-radius: 30px; */
  /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); */
  /* backdrop-filter: blur(10px); */
}

.intro-section h3 {
  font-size: clamp(1.2rem, 4vw, var(--font-size-h3));
  color: var(--h3-color);
  margin-bottom: 25px;
}

.intro-section p {
  font-size: var(--font-size-p);
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 20px;
}

.detail-btn {
  margin-top: 30px;
  padding: 15px 40px;
  background: transparent;
  border: 2px solid var(--text-dark);
  color: var(--text-dark);
  border-radius: 50px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
}

.detail-btn:hover {
  background: var(--text-dark);
  color: white;
  transform: translateY(-2px);
}

.farm-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.farm-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}

.card-1 {
  margin-left: 0;
}

.card-2 {
  margin-left: 80px;
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  /* 比率を固定して歪みを防止 */
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s;
}

.card-image:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.card-overlay {
  padding-left: 40px;
}

@media screen and (max-width: 750px) {
  .farm-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .farm-text-area {
    order: 2;
    padding: 0 20px;
  }

  .farm-cards {
    order: 1;
    gap: 20px;
  }

  .card-2 {
    margin-left: 0;
  }

  .card-image {
    aspect-ratio: 3 / 2;
    /* モバイルでは少し高さを出す */
  }

  .card-overlay {
    padding-left: 20px;
    padding-top: 10px;
  }
}



/* ギャラリーセクション--------------------------------------------------------------


--------------------------------------------------------------------------------*/

.gallery-section {
  background: var(--sandy-beige);
  /* 背景色をベージュに設定 */
  position: relative;
}


.gallery-card {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 30px;
  /* カード1、3の下余白 */
}

.gallery-card-center {
  margin-bottom: 80px;
  /* 中央カード（カード2）の下余白 */
  width: 100%;
  height: auto;
}

.gallery-card:last-child {
  margin-bottom: 0;
}

.card-image-wrapper {
  width: 40%;
  /* position: relative; */

}

.card-content {
  /* background: rgba(255, 255, 255, 0.85); */
  width: 40%;
  padding: 20px;
  /* border-radius: 30px; */
  /* box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1); */
  /* backdrop-filter: blur(10px); */
}

.card-icon {
  margin-bottom: 20px;
}

.card-content h3 {
  font-size: clamp(1.2rem, 4vw, var(--font-size-h3));
  color: var(--h3-color);
  margin-bottom: 10px;
}



.card-subtitle {
  position: absolute;
  top: -5%;
  /* h3からの距離を調整 */
  font-size: 3.5rem;
  color: #e1ded9;
  letter-spacing: 1;
  margin-bottom: 20px;
  font-weight: 300;
  z-index: 1;
}

.card-content p {


  line-height: 1.9;
  margin-bottom: 30px;
}

.card-btn {
  padding: 14px 35px;
  background: #6b8e6b;
  /* This is a new color */
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(107, 142, 107, 0.3);
}

.card-btn:hover {
  background: #5a7a5a;
  /* This is a new color */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 142, 107, 0.4);
}

.card-image-wrapper {
  width: 40%;

  /* position: relative; */
}

.card-image-wrapper2 {
  display: flex;
  width: 100%;
  padding: 20px 40px;
  gap: 20px;
  /* display: flex; */
  /* justify-content: center; */
  /* align-items: center; */
  /* position: absolute; */
  /* top: */
}


/* ポラロイド風フレーム */
.polaroid-frame {
  width: 100%;
  background: white;
  padding: 15px;
  padding-bottom: 50px;
  border-radius: 5px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: rotate(-3deg);
  transition: all 0.3s;
}

.polaroid-frame:hover {
  transform: rotate(0deg) translateY(-10px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.polaroid-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  /* 正方形に近い比率で固定 */
  border-radius: 3px;
  object-fit: cover;
}

@media screen and (max-width: 750px) {

  .gallery-card {
    flex-direction: column-reverse;
    gap: 30px;
    margin-bottom: 30px;
    /* カード1、3の下余白 */
  }

  .gallery-card-center {
    margin-bottom: 40px;
    /* 中央カード（カード2）の下余白 */
    flex-direction: column-reverse;
    gap: 30px;
  }

  .card-content,
  .card-image-wrapper {
    width: 100%;
    padding: 0 20px;
  }

  .card-image-wrapper2 {
    flex-direction: column;
    padding: 0 20px;
    gap: 40px;
  }

  .polaroid-frame {
    transform: rotate(0deg);
    /* モバイルでは傾きをリセットして見やすく */
    padding-bottom: 40px;
  }

  .polaroid-frame:hover {
    transform: translateY(-5px);
  }

  .polaroid-image {
    aspect-ratio: 4 / 3;
    /* モバイルでは少し横長にする */
  }
}

/* お問い合わせセクション */
.contact-section {
  position: relative;
  padding-top: 70px;
  background: var(--soft-ivory);
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 10px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
}

.contact-form button {
  display: block;
  width: 100%;
  padding: 18px;
  background: var(--primary-green);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background: var(--primary-green-dark);
}