@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Template: cocoon-master
Version: 1.1.3
*/

.PcOnly { display: block; }
.PhoneOnly { display: none; }

@media screen and (max-width: 500px) {
  .PcOnly { display: none; }
  .PhoneOnly { display: block; }
}

.note-rss-wrapper {
  max-width: 710px;
  margin: 0 auto;
  padding: 0 8px;
  box-sizing: border-box;
  width: 100%;
}

.note-rss-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  row-gap: 0 !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  align-items: stretch;
  justify-content: center;
}

.note-rss-item {
  width: 100%;
  max-width: 710px;
  margin: 0 auto;
  height: 223px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

.note-embed,
.note-rss-item iframe {
  position: relative;
  width: 100%;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  border: none;
  display: block;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box;
  pointer-events: auto;
  vertical-align: top;
}

.note-rss-item:hover {
  transform: translateY(-1px) scale(1.005);
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 250px) {
  .note-rss-item { height: 223px !important; }
}
@media screen and (min-width: 251px) and (max-width: 710px) {
  .note-rss-item { height: 223px !important; }
}
@media screen and (min-width: 711px) {
  .note-rss-item { height: 223px !important; }
}

.note-rss-item:first-child {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.note-rss-item > div {
  margin: 0 !important;
  padding: 0 !important;
}

.entry-content > * + * {
  margin-top: 0 !important;
}

.entry-content iframe {
  margin: 0 !important;
  padding: 0 !important;
}

:root {
  --wp--style--block-gap: 0 !important;
}

p:has(.note-rss-wrapper),
p:has(iframe[src*="note.com"]) {
  margin: 0 !important;
  padding: 0 !important;
}

.door-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  z-index: 10000;
  perspective: 1200px;
}

.door {
  flex: 1;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 80px rgba(0,0,0,0.8);
  transition: transform 1.5s ease-in-out;
}

.left-door { transform-origin: left; background-image: url('https://www.rhythm-garden.jp/wp-content/uploads/2025/12/door-left.webp'); }
.right-door { transform-origin: right; background-image: url('https://www.rhythm-garden.jp/wp-content/uploads/2025/12/door-right.webp'); }

.open .left-door { transform: rotateY(-100deg); }
.open .right-door { transform: rotateY(100deg); }

.black-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #000;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  z-index: 9000;
}

.black-overlay.fade-out-black {
  opacity: 0;
}

.light {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(
    ellipse at center,
    rgba(255,240,225,0.95) 0%,
    rgba(255,240,255,0.2) 60%,
    rgba(255,240,255,0) 80%
  );
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 9500;
  pointer-events: none;
}

.welcome-image {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  transition: transform 2s ease-in-out, opacity 1.2s ease-in-out 1.2s;
  z-index: 9600;
  width: 40vw;
  max-width: 400px;
}

.welcome-image.show-welcome { opacity: 1; }

.welcome-image.zoom-only {
  transform: translate(-50%, -50%) scale(1.5);
  transition: transform 2s ease-in-out;
}

.welcome-image.fade-only {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.main-content {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.show-content .main-content { opacity: 1; }

html.loading body { visibility: hidden; }

.note-rss-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 5px !important;
  width: 100% !important;
}

.note-rss-item {
  width: 100% !important;
  max-width: 710px !important;
  margin: 0 auto !important;
}

.note-embed {
  width: 100% !important;
  height: 223px !important;
  max-width: 100% !important;
  border: none !important;
}

body.rg-session {
  margin: 0;
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  background: linear-gradient(180deg, #fff7fb 0%, #fff0f6 100%);
  color: #2A2A2A;
  line-height: 1.8;
  padding-top: 40px;
  padding-bottom: 40px;
}

.rg-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.rg-title {
  text-align: center;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 30px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #d86aac;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.rg-grid {
  display: grid;
  gap: 32px;
  align-items: stretch;
}

@media (min-width: 760px) {
  .rg-grid { grid-template-columns: 1fr 1fr; }
}

.rg-card {
  background: #fff;
  border: 2px solid #e8bcd0;
  border-radius: 16px;
  padding: 28px 24px 24px 24px;
  box-shadow: 0 4px 12px rgba(216,106,172,0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.rg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(216,106,172,0.25);
}

.rg-card-header {
  text-align: center;
  margin-bottom: 24px;
}

.rg-badge {
  display: inline-block;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  background: linear-gradient(180deg, #f3a6c8 0%, #d86aac 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 999px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(216,106,172,0.25);
}

.rg-price {
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 600;
  color: #a85c7a;
  margin-bottom: 20px;
}

.rg-meta {
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
  padding-left: 16px;
  text-align: left;
}

.rg-meta li {
  margin-bottom: 8px;
}

.rg-recommend {
  background: #fff7fb;
  border: 1px solid #e8bcd0;
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  width: calc(100% - 32px);
  margin: 0 auto;
  margin-top: auto;
}

.rg-recommend h4 {
  margin: 0 0 8px;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  color: #d86aac;
  font-size: 15px;
  font-weight: 500;
}

.rg-recommend ul {
  padding-left: 20px;
}

.rg-recommend li {
  margin-bottom: 6px;
  font-size: 14px;
}

/* 固定ページの日付を非表示 */
.page .date-tags,
.page .entry-date,
.page .post-date,
.page .update-date {
  display: none !important;
}

.site-title {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

