* {
  box-sizing: border-box;
}

.mt-50{
	margin-top: 50px;
}

h2{
	font-family: "Zen Maru Gothic", sans-serif;
	text-align: center;
	font-size: 1.2em;
	line-height: 1.2;
	margin-top: 2em;
	font-weight: bold;
	color: #57455a;
}

html {
  min-height: 100%;
  background: #fff;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #392b25;
  font-family:"Zen Maru Gothic", sans-serif;
}

.page {
  width: min(100%, 1050px);
  margin: 0px auto;
  overflow: hidden;
  background-color: #fffdfd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 400'%3E%3Cpath fill='%23f5d6df' d='M74 48 C75 63 77 66 92 67 C77 68 75 71 74 86 C73 71 71 68 56 67 C71 66 73 63 74 48Z'/%3E%3Cpath fill='%23d9eaf5' d='M266 74 C267 91 269 94 286 95 C269 96 267 99 266 116 C265 99 263 96 246 95 C263 94 265 91 266 74Z'/%3E%3Cpath fill='%23e0eedc' d='M158 170 C159 182 161 184 173 185 C161 186 159 188 158 200 C157 188 155 186 143 185 C155 184 157 182 158 170Z'/%3E%3Cpath fill='%23f5edc9' d='M322 230 C323 244 325 247 339 248 C325 249 323 252 322 266 C321 252 319 249 305 248 C319 247 321 244 322 230Z'/%3E%3Cpath fill='%23e7def2' d='M64 312 C65 326 67 329 81 330 C67 331 65 334 64 348 C63 334 61 331 47 330 C61 329 63 326 64 312Z'/%3E%3Cpath fill='%23f5dfd1' d='M220 350 C221 362 223 364 235 365 C223 366 221 368 220 380 C219 368 217 366 205 365 C217 364 219 362 220 350Z'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 360px 400px;
}

.hero {
  margin: 0;
  padding: 0;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0px;
  padding: 5px 10% 45px;
}

.polaroid {
  --tilt: 0deg;

  position: relative;
  z-index: 1;
  width: min(100%, 350px);
  margin: 0 auto;
  padding: 12px 12px 14px;
  background: #f6f6f6;
  box-shadow: 0 5px 8px rgba(0, 0, 0, .2);
  transform: rotate(var(--tilt)) scale(.7);
  animation: polaroid-scale-in .7s ease-out both;
}

.polaroid-purple {
  --tilt: -6deg;
  animation-delay: 0s;
}

.polaroid-pink {
  --tilt: 3deg;
  animation-delay: .25s;
}

.polaroid-beige {
  --tilt: -4deg;
  animation-delay: .5s;
}

.polaroid img {
  display: block;
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.polaroid figcaption {
  display: flex;
  justify-content: center;
  padding: 10px 4px 0;
  font-size: 1.5rem;
}

.polaroid figcaption span {
  color: #593a9a;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 700;
}

.polaroid-pink figcaption span {
  color: #dc3479;
}

.polaroid-beige figcaption span {
  color: #48392f;
}

@keyframes polaroid-scale-in {
  from {
    transform: rotate(var(--tilt)) scale(.7);
  }

  to {
    transform: rotate(var(--tilt)) scale(1);
  }
}

.story {
/*  padding: 35px 8% 65px;*/
  text-align: center;
}

.eyebrow {
  margin: 0;
  font-weight: 700;
}

.story h1 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: .12em;
  line-height: 1.6;
}

.intro {
  margin: 32px 0;
  color: #777;
  letter-spacing: .08em;
  line-height: 1.8;
}

.callout {
  max-width: 500px;
  margin: 34px auto 26px;
  padding: 15px;
  border-radius: 32px;
  background: #4b2819;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.wish-list {
  display: grid;
  max-width: 650px;
  gap: 14px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
}

.wish-list li {
  position: relative;
  padding: 18px 22px 18px 62px;
  border-radius: 24px;
  background: #b6a0d0;
  color: #fff;
  line-height: 1.7;
}

.wish-list li:nth-child(2) {
  background: #eab9c8;
}

.wish-list li:nth-child(3) {
  background: #d9c3a9;
}

.wish-list li::before {
  position: absolute;
  top: 50%;
  left: 24px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  border-radius: 4px;
  background: #fff;
  color: #8b4e9f;
  content: "\2713";
  line-height: 20px;
  text-align: center;
}

.answer {
  margin: 38px 0 24px;
  color: #7041a0;
}

.answer p {
  margin: 0;
  font-weight: 700;
}

.answer h2 {
  margin: 4px 0 0;
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  text-shadow: 2px 2px #ddd;
}

.product-image {
  display: flex;
  justify-content: center;
}

.product-image img {
  /*display: block;*/
  width: min(75%, 440px);
  height: 400px;
  object-fit: contain;
}

@media (min-width: 760px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 28px;
    padding: 5px 9% 45px;
  }

  .polaroid {
    width: 100%;
    max-width: 340px;
  }

  .polaroid-purple {
    margin-top: 40px;
  }

  .polaroid-pink {
    margin-top: 10px;
  }

  .polaroid-beige {
    margin-top: 35px;
  }

  .polaroid img {
    height: 230px;
  }

  .story {
    padding: 50px 12% 0px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .polaroid {
    animation: none;
    transform: rotate(var(--tilt)) scale(1);
  }
}

/*タイトル枠*/
.title-box {
  width: fit-content;
  max-width: 90%;
  margin: 24px auto;
  padding: 14px 30px;
  border-radius: 18px;
  background:#FFF999;
  color: #57455a;
  font-size: clamp(2rem, 4vw, 1.6rem);
  font-weight: bold;
  text-align: center;
  margin-top: 0;
  margin-bottom: 30px;
}

/*レスポンシブ横並び*/
.image-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 80%;
  margin: 0 auto;
}

.image-row img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: contain;
}

@media (min-width: 600px) {
  .image-row {
    flex-direction: row;
    justify-content: center;
  }

  .image-row img {
    width: calc(50% - 12px);
  }
}

/*アニメ*/

.animate-bounceIn {
  animation: bounceIn 1s ease 1 both;
}

@keyframes bounceIn {
  0%, 20%, 40%, 60%, 80%, 100% { animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  0% { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); }
  20% { transform: scale3d(1.1, 1.1, 1.1); }
  40% { transform: scale3d(0.9, 0.9, 0.9); }
  60% { opacity: 1; transform: scale3d(1.03, 1.03, 1.03); }
  80% { transform: scale3d(0.97, 0.97, 0.97); }
  100% { opacity: 1; transform: scale3d(1, 1, 1); }
}

.fade-in {
  opacity: 0;
  animation: fadeInAnim 1.5s ease-out forwards;
}

@keyframes fadeInAnim {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.animate-zoomIn {
  animation: zoomIn 1.8s ease 1 both;
}

@keyframes zoomIn {
  0% { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); }
  50% { opacity: 1; }
}
 
/*GIF横並び*/
/* ===== 共通（モバイル） ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body.gif-page {
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    color: #333333;
}

.gif-page__main {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
}

.gif-page__title {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

.gif-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gif-list__item {
    width: 100%;
    margin: 0;
    padding: 0;
}

.gif-card__title {
/*    display: inline-block;*/
    max-width: 100%;
    margin: 0 0 8px;
    padding: 8px 16px;
    background-color: #FFF999;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    color: #222222;
	text-align: center;
}

.gif-card__media {
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 12px;
}

.gif-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== タブレット＆PC（820px以上） ===== */
@media (min-width: 820px) {
    .gif-page__main {
        padding: 24px 24px;
    }

    .gif-page__title {
        margin-bottom: 24px;
        font-size: 28px;
    }

    .gif-list {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 20px;
    }

    .gif-list__item {
        flex: 1 1 0;
        min-width: 0;
    }

    .gif-card__title {
        width: 100%;
        font-size: 12px;
    }
}


/*仕様*/

.product-page {
  width: min(100% - 32px, 1200px);
  margin: 24px auto;
}

.charge-note {
  margin: 0 0 12px;
  color: #e74b4b;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.product-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-main-image,
.product-sub-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #fff;
}

.product-main-image {
  aspect-ratio: 1 / 1.85;
}

.product-sub-image {
  aspect-ratio: 1.85 / 1;
  margin-bottom: 20px;
}

.product-main-image img,
.product-sub-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #777;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 10px 8px;
  border: 0;
  text-align: left;
  vertical-align: middle;
  line-height: 1.5;
  overflow-wrap: anywhere;
  background-color: #fff;
}

.spec-table th {
  width: 38%;
  background-color: #f0f0f0;
  color: #333;
  font-weight: normal;
}

.spec-table td {
  border-bottom: 1px solid #ddd;
}

table.table-col2 td {
	text-align: center;
}

@media (min-width: 820px) {
  .product-page {
    margin-top: 36px;
    margin-bottom: 60px;
  }

  .charge-note {
    margin-bottom: 8px;
  }

  .product-layout {
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
  }

  .product-main-image {
    flex: 0 0 48%;
    min-height: 700px;
    aspect-ratio: auto;
  }

  .product-details {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 24px;
  }

  .product-sub-image {
    flex: 1;
    min-height: 360px;
    aspect-ratio: auto;
    margin-bottom: 0;
  }

  .spec-table th,
  .spec-table td {
    padding: 8px;
    border: 1px solid #999;
    text-align: center;
    font-size: 16px;
  }

  .spec-table th {
    background-color:#FFFFFF;
    color: #777;
  }
}

/*横並び３つ*/
/* 全体コンテナ */
.feature-container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
  padding-bottom: 0px;
  padding-left: 20px;
  padding-right: 20px;
}

/* スマホ表示：縦並び (モバイルファースト) */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-card {
  width: 100%;
}

/* 画像エリア（角丸の正方形プレースホルダー） */
.feature-card__image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
/*  background-color: #929292;*/
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.feature-card__placeholder {
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 0.1em;
  pointer-events: none;
}

/* 見出し（下線付き） */
.feature-card__title {
  margin-top: 20px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #707070;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #111111;
}

/* 説明テキスト */
.feature-card__desc {
  font-size: 12px;
  line-height: 1.8;
  color: #222222;
}

.feature-card__desc p {
  margin-top: 0;
  margin-bottom: 6px;
}

.feature-card__desc p:last-child {
  margin-bottom: 0;
}

/* 画面幅 820px 以上：PC・タブレット向け（横3つ並び） */
@media (min-width: 820px) {
  .feature-container {
    padding-top: 60px;
    padding-bottom: 0px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .feature-list {
    flex-direction: row;
    justify-content: space-between;
    gap: 36px;
  }

  .feature-card {
    flex: 1;
    min-width: 0;
  }

  .feature-card__image-box {
    border-radius: 16px;
  }

  .feature-card__title {
    margin-top: 24px;
    font-size: 14px;
  }

  .feature-card__desc {
    font-size: 11px;
  }
}