
.kauriru__embedded-content {
  width: 550px;
  max-width: 100%;
}

.kauriru__separator {
  border-radius: 4px;
  border: 1px solid #EAEAEA;
  padding: 16px;
  margin: 1rem 0 0;
}

.kauriru__header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
}

.kauriru__description {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  padding: 4px 8px;
  color: #4A4A4A;
  margin-left: -16px;
}

.kauriru__header-container.kauriru__narrow-layout {
  flex-direction: column;
  align-items: stretch;
}

.kauriru__header-container.narrow-layout .kauriru__description, 
.kauriru__header-container.narrow-layout .kauriru__link-container {
  margin-left: 0;
  margin-bottom: 8px;
  width: fit-content;
}

.kauriru__header-container.kauriru__narrow-layout .kauriru__description {
  margin-left: -16px;
}

.kauriru__header-container.kauriru__narrow-layout .kauriru__link-container {
  margin-left: 0;
  text-align: right;
  width: 100%;
}

.kauriru__link-container {
  text-align: right;
}

.kauriru__header-container .kauriru__link-container a.kauriru__link,
.kauriru__header-container .kauriru__link-container a.kauriru__link:visited {
  color: #333333;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 300;
  font-size: 10px;
}

.kauriru__button-container {
  display: flex;
  gap: 16px;
  padding-bottom: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.kauriru__button-container.kauriru__narrow-layout {
  flex-direction: column;
}

.kauriru__button {
  width: 100%;
  height: 48px;
  line-height: 24px;
  padding: 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.kauriru__rental-button {
  background-color: #FF9090;
}

.kauriru__subscription-button {
  background-color: #1CC7D0;
}

.kauriru__external-site-note {
  font-size: 10px;
  color: #333;
  text-align: center;
  padding-bottom: 8px;
}

.kauriru__logo-description {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: left;
}

.kauriru__company-logo {
  width: 80px;
  height: 14px;
}

.kauriru__text-description {
  font-size: 12px;
  color: #333333;
  font-weight: 300;
}

/* モバイルデバイス用のスタイル */
@media (max-width: 768px) {
  .kauriru__button-container {
      justify-content: space-between;
      gap: 8px;
      flex-wrap: wrap;
  }

  .kauriru__button {
      width: 100%;
      margin: 0 auto;
  }

  .kauriru__company-logo {
    width: 67px;
    height: 12px;
  }
}

.kauriru__modal-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1005;
  overflow: hidden;
}

.kauriru__modal-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 100%;
  background-color: #fff;
  overflow: hidden;
}

.kauriru__modal-header {
  height: 30px;
  display: flex;
  justify-content: flex-start; /* ヘッダー内の要素を左端に配置 */
  align-items: center;
  background-color: #fff;
}

.kauriru__modal-container iframe {
  width: 100%;
  height: calc(100% - 30px); /* ヘッダーの高さを除いた残りの高さ */
  border: none;
  display: block; /* 追加 */
}

.kauriru__close-button {
  width: 40px;
  height: 40px;
  font-size: 24px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
