.elementor-6475 .elementor-element.elementor-element-4f57970{--display:flex;}/* Start custom CSS for html, class: .elementor-element-2ef004f *//* =========================*/
/*   全体画像*/
/*========================= */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;

  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "Noto Serif JP",
    serif;

  color: #f7e9ef;

  background:
    linear-gradient(
      180deg,
      rgba(18, 10, 20, 0.55),
      rgba(28, 12, 26, 0.62)
    ),
    url("https://tm-meguri.com/wp-content/uploads/2026/05/ChatGPT-Image-2026%E5%B9%B45%E6%9C%8819%E6%97%A5-13_34_31.png")
    center center / cover no-repeat fixed;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}





/* =========================*/
/*   全体*/
/*========================= */

.glass-horoscope-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 28px 80px;
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.88),
      rgba(255,255,255,0.68)
    );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 20px 60px rgba(120,150,160,0.25);
  color: #111;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  text-align: center;
  line-height: 1.75;
}

.intro-text,
.middle-text,
.end-text {
  font-size: 16px;
  margin: 0 auto 28px;
}

.image-fit-box,
.category-image-box {
  position: relative;
  width: min(92%, 560px);
  margin: 22px auto 36px;
  display: grid;
  place-items: center;
}

.image-fit-box img,
.category-image-box img {
  width: 100%;
  height: auto;
  min-height: 170px;
  display: block;
  object-fit: fill;
}

.image-text,
.category-image-text {
  position: absolute;
  inset: 18% 12% 16%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(14px, 2.3vw, 17px);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.category-image-text h3 {
  margin: 0 0 10px;
  font-size: clamp(15px, 2.5vw, 18px);
  font-weight: 600;
}

.category-image-text p {
  margin: 0;
}

.category-list {
  display: grid;
  gap: 28px;
  margin: 30px auto 48px;
}

.timeline-frame {
  width: min(92%, 520px);
  margin: 36px auto 28px;
  padding: 56px 26px 34px;
  border: 3px solid rgba(0,0,0,0.75);
  background: rgba(255,255,255,0.18);
  overflow: hidden;
}

.timeline-graph {
  width: 100%;
  height: 120px;
  margin: 0 auto 14px;
}

.timeline-graph svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.timeline-graph polyline {
  fill: none;
  stroke: #49336f;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-graph circle {
  fill: #49336f;
}

.timeline-months {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.timeline-months span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 2px solid rgba(150,190,235,0.75);
  font-size: 13px;
  font-weight: 600;
}

.timeline-panels {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  align-items: end;
  padding: 14px 0 10px;
}

.timeline-panel {
  min-height: 160px;
  padding: 12px 5px;
  border-radius: 18px;
  background: linear-gradient(
    to bottom,
    rgba(235,238,255,0.96),
    rgba(205,190,235,0.92)
  );
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform-origin: bottom center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 13px;
  line-height: 1.6;
  outline: none;
}

.timeline-panel:nth-child(even) {
  background: linear-gradient(
    to bottom,
    rgba(218,240,255,0.96),
    rgba(190,210,238,0.92)
  );
}

.timeline-panel p {
  margin: 0;
}

.timeline-panel:hover,
.timeline-panel:focus,
.timeline-panel:active {
  transform: scale(1.16);
  z-index: 5;
  box-shadow: 0 12px 28px rgba(70, 50, 110, 0.25);
}

.bottom-image-buttons{
    display:flex;
    justify-content:center;
    gap:18px;
    margin-top:40px;
}

.image-button{
    position:relative;
    display:block;
    width:calc(50% - 9px);
    max-width:260px;
    transition:.3s;
}

.image-button img{
    width:100%;
    display:block;
}

.button-caption{
    position:absolute;

    top:18%;
    left:50%;

    transform:translateX(-50%);

    width:78%;

    text-align:center;
}

.button-title{
    font-size:18px;
    font-weight:700;
    line-height:1.4;
    margin-bottom:10px;
}

.button-desc{
    font-size:12px;
    line-height:1.6;
}

.image-button:hover{
    transform:translateY(-4px);
}


/* =========================*/
/*   全体スマホ*/
/*========================= */

@media (max-width: 768px) {

  .glass-horoscope-page {
    width: 100%;
    padding: 34px 14px 56px;
    border-radius: 0;
  }

  .intro-text,
  .middle-text,
  .end-text {
    font-size: 14px;
    line-height: 1.8;
  }

  .image-fit-box,
  .category-image-box {
    width: 96%;
  }

  .image-fit-box img,
  .category-image-box img {
    min-height: 150px;
  }

  .image-text,
  .category-image-text {
    inset: 17% 11% 14%;
    font-size: clamp(13px, 3.6vw, 15px);
    line-height: 1.65;
  }

  .category-image-text h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .category-list {
    gap: 24px;
  }

  .timeline-frame {
    width: 96%;
    padding: 40px 10px 28px;
    overflow: hidden;
  }

  .timeline-graph {
    height: 92px;
    margin-bottom: 10px;
  }

  .timeline-months {
    gap: 5px;
  }

  .timeline-months span {
    min-height: 24px;
    font-size: 11px;
    border-width: 1.5px;
  }

  .timeline-panels {
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    padding: 10px 0 8px;
  }

  .timeline-panel {
    min-height: 136px;
    padding: 8px 3px;
    font-size: 10px;
    border-radius: 14px;
  }

  .timeline-panel:hover,
  .timeline-panel:focus,
  .timeline-panel:active {
    transform: scale(1.1);
  }

 .bottom-image-buttons{
    gap:10px;
}

.image-button{
    width:calc(50% - 5px);
}

.button-caption{
    width:84%;
    top:15%;
}

.button-title{
    font-size:13px;
    margin-bottom:6px;
}

.button-desc{
    font-size:10px;
    line-height:1.5;
}
}/* End custom CSS */