/* ===== 全体 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: serif;
  color: #111;
}
img{
  width: 100%;
}
a {
  text-decoration:none;
  color: inherit;
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
}
p{
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
}

.br_768{
  display: none;
}
@media (max-width:767px) {
  .br_768{
    display: block;
  }
}
.sp_only{
  display: none;
}
@media (max-width:500px) {
  .sp_only{
    display: block;
  }
}

/* ===== ローディング ===== */
#loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 1s ease;
}
#loader.fade-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}
.loader-inner {
  text-align: center;
}
.clock {
  width: 180px;
  height: 180px;
  margin: 0 auto 40px;
  position: relative;
  /* opacity: 0.85;
  filter: blur(0.3px); */
}
.progress {
  /* filter: drop-shadow(0 0 2px rgba(160,160,160,0.15)); */
  stroke-width: 1.6;
  stroke-linecap: round;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 339;
  stroke-dashoffset: 339;
  animation: progressAnim 2.2s linear forwards;
}
.bg {
  fill: none;
  stroke: rgba(200, 200, 200, 0.7);
  stroke-width: 1.4;
}
.hand {
  position: absolute;
  width: 2px;
  height: 35%;
  background: linear-gradient(
    to top,
    rgba(160,160,160,0.9),
    rgba(160,160,160,0.2)
  );
  opacity: 0.9;
  left: 50%;
  bottom: 50%;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(0deg);
  animation: rotate 2.2s linear forwards;
}
.catch {
  font-size: clamp(0.875rem, 0.787rem + 0.376vw, 1.125rem);
  margin-top: 20px;
  line-height: 2;
  letter-spacing: 0.08em;
  color: #111;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
  animation-delay: 0.2s;
}

/* アニメーション */
@keyframes rotate {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}
@keyframes progressAnim {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ===== 左側タイムライン ===== */
.timeline-line {
  position: fixed;
  left: 50px;
  top: 0;
  width: 1px;
  height: 100vh;
  background: #f5f5f5;
  background: #fff;
}
.timeline-progress {
  width: 100%;
  height: 0;
  background: #594e58;
  background: #555;
}

@media (max-width:1024px) {
  .timeline-line{
    left: 30px;
  }
}
@media (max-width:768px) {
  .timeline-line{
    left: 20px;
  }
}

/* ===== 背景 ===== */
#background {
  position: fixed;
  inset: 0;
  z-index: -1;
}
.bg-layer {
  position: absolute;
  inset: 0;
  background-color: #cccccc;
  background-size: cover;
  background-position: center;
  transition: opacity 1.2s ease-in-out;
}
.bg-layer.next {
  opacity: 0;
}
.bg-layer.active {
  opacity: 1;
}

/* 背景レイヤー */
.bg-layer::after {
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,0.08);
}

/* ===== キービジュアル ===== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-inner {
  text-align: center;
}
.logo{
  max-width: 350px;
  width: 40%;
  margin: 1em auto;
  filter: drop-shadow(2px 2px 2px white);
}
h1{
  font-size: clamp(0.875rem, 0.567rem + 1.315vw, 1.75rem);
  line-height: 1.4;
  filter: drop-shadow( 2px 2px 2px white);
}
h1 span{
  margin-top: 1.2em;
  display: block;
  line-height: 1.8;
  font-size: clamp(1rem, 0.824rem + 0.751vw, 1.5rem);
  letter-spacing: 4px;
}

/* ===== sections ===== */
.time-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}
.time-section .inner {
  max-width: 1100px;
  width: 95%;
  margin: 0 auto;
  padding: 60px 10px 60px 20px;
  display: flex;
  flex-direction: row;
  gap: 5%;
}

/* ===== CARD ===== */
.card {
  width: 100%;
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  gap: 24px;
  padding: 36px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  text-align: center;
  box-shadow:
  0 8px 32px rgba(0,0,0,0.1),
  inset 0 0 1px rgba(255,255,255,0.4);
}

.left {
  flex: 1;
  flex: 0 0 240px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.right {
  flex: 2;
  flex: 1;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

@media (max-width:900px) {
  .left {
    flex: 0 0 100px;
  }
  .right {
    row-gap: 28px;
  }
}
@media (max-width:700px) {
  .card {
    flex-direction: column;
  }
}
@media (max-width:500px) {
  .card {
    gap: 12px;
  }
  .left {
    gap: 12px;
  }
  .right {
    row-gap: 12px;
  }
  .right p{
    text-align: left;
  }
}

/* 時間 */
.digital-time {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.08em;
}
.digital-time .ampm {
  font-size: 16px;
  opacity: 0.8;
}
.digital-time .time {
  font-size: clamp(1.875rem, 1.743rem + 0.563vw, 2.25rem);
  text-shadow:
    0 0 6px rgba(0,0,0,0.1),
    0 0 12px rgba(255,255,255,0.6);
}

/* 商品画像 */
.product-img {
  max-width: 180px;
  margin: 0 auto;
}
.product-img img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .product-img {
    max-height: 150px;
    display: flex;
    justify-content: center;
  }
  .product-img img {
    object-fit: contain;
    max-height: 150px;
  }
}

/* 香り notes */
.notes {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.note {
  display: flex;
  gap: 10px;
  flex-direction: row;
  align-items: flex-start;
}

@media (max-width: 500px) {
  .note {
    flex-direction: column;
    gap: 4px;
  }
  #am07 .note, #am00 .note{
    flex-direction: row;
  }
}

.note .label {
  font-size: 11px;
  letter-spacing: 0.12em;
  width: 60px;
  flex-shrink: 0;
  width: 70px;
  text-align: left;
  opacity: 0.8;
}
.note .items {
  font-size: clamp(0.75rem, 0.684rem + 0.282vw, 0.938rem);
  line-height: 1.6;
  text-align: center;
  width: 100%;
  text-align: left;
  padding-left: 0.5em;
}

/* 購入ボタン */
.card .btn{
  padding:10px 20px;
  background:#ffffff82;
  color: #333;
  border-radius:5px;
  border: 1px solid rgba(180, 180, 180, 0.4);
}
.card .btn:hover {
  background: rgba(0,0,0,0.8);
  color: #fff;
}

@media (max-width: 768px) {
  .card .btn {
    padding:6px 12px;
  }
}


/* ------------- カード 色分け ------------- */

/* カード背景・文字 */
.card#am07,.card#am10,.card#pm03{
  background: rgba(255,255,255,0.25);
  color: #222;
}
.card#pm08,.card#am00,.card#am02{
  background: rgba(0, 0, 0, 0.28);
  color: #e9e9e9;
}

.card#am07 p,.card#am10 p,.card#pm03 p{
  text-shadow: 0px 0px 4px #ffffff;
  font-weight: bold;
}

/* 香り文字 */
.card#am07 .note .label,.card#am10 .note .label,.card#pm03 .note .label{
  text-shadow: 0px 0px 4px #ffffff;
  color: rgba(0, 0, 0, 0.7);
}
.card#am07 .note .items,.card#am10 .note .items,.card#pm03 .note .items{
  text-shadow: 0px 0px 4px #ffffff;
  color: rgba(0,0,0,0.7);
  border-bottom: 1px solid #00000040;
  font-weight: bold;
}
.card#pm08 .note .label,.card#am00 .note .label,.card#am02 .note .label{
  color: #e9e9e9;
}
.card#pm08 .note .items,.card#am00 .note .items,.card#am02 .note .items{
  color: #e9e9e9;
  border-bottom: 1px solid #ffffff40;
}

/* ===== フッター ===== */
footer{
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 2em 0;
}
.footer-inner{
  max-width: 880px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6em;
  flex-wrap:row;
}
.footer-inner ul{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.footer-inner ul li{
  padding: 0.4em;
  list-style: none;
}
.footer-inner ul li::after{
  content: "/";
  margin: 0 0.5em;
  color: #aaa;
}
.footer-inner ul li:last-child::after{
  content: "";
}
.footer-inner ul li a{
  font-size: 12px
}
.footer-inner p{
  font-size: 12px;
}
@media (max-width:768px) {
  .footer-inner{
    flex-direction: column;
    gap: 0;
  }
  .footer-inner ul{
    flex-wrap: wrap;
    max-width: 80%;
  }
  .footer-inner p{
  margin-top: 12px;
  }
}