:root {
  --ink: #342a2f;
  --muted: #71666b;
  --paper: #fffdfc;
  --canvas: #f6f1f2;
  --line: #eadfe3;
  --brand: #7c3f58;
  --brand-dark: #5f2e42;
  --brand-soft: #f5e8ed;
  --accent: #d58b76;
  --shadow: 0 18px 50px rgba(73, 42, 54, .09);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0 !important;
  color: var(--ink) !important;
  background:
    radial-gradient(circle at 8% 8%, rgba(213, 139, 118, .12), transparent 26rem),
    var(--canvas) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-underline-offset: .18em;
}

a:hover {
  color: var(--brand-dark);
}

img {
  max-width: 100%;
  height: auto;
}

#wrapper {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

#top {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(124, 63, 88, .08);
  background: rgba(255, 253, 252, .94) !important;
  backdrop-filter: blur(12px);
}

#top .inner {
  width: min(1120px, calc(100% - 40px)) !important;
  min-height: 72px;
  margin: 0 auto !important;
  padding: 16px 0 !important;
  display: flex;
  align-items: center;
}

#top h1 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: clamp(15px, 2vw, 20px) !important;
  font-weight: 700 !important;
  letter-spacing: .03em;
  line-height: 1.5 !important;
}

#top h1 a {
  color: var(--ink) !important;
  text-decoration: none !important;
}

#header {
  position: relative;
  width: min(1120px, calc(100% - 40px)) !important;
  margin: 24px auto 0 !important;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #d8c4c7;
}

#header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(52, 42, 47, .12));
  pointer-events: none;
}

#header > img {
  display: block;
  width: 100% !important;
  height: clamp(300px, 45vw, 520px) !important;
  object-fit: cover;
  object-position: center 40%;
}

#header .inner {
  display: none;
}

#column2,
#contents {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

#layoutbox {
  width: min(1120px, calc(100% - 40px)) !important;
  margin: 36px auto 72px !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
  background: transparent !important;
}

#main,
#menu {
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#main article {
  display: grid;
  gap: 24px;
}

.block_text {
  margin: 0 !important;
  padding: clamp(24px, 4.5vw, 48px) !important;
  overflow: hidden;
  border: 1px solid rgba(124, 63, 88, .08) !important;
  border-radius: 24px;
  background: var(--paper) !important;
  box-shadow: 0 14px 44px rgba(73, 42, 54, .06);
}

.block_text h2,
.block_text h3 {
  margin: calc(clamp(24px, 4.5vw, 48px) * -1) calc(clamp(24px, 4.5vw, 48px) * -1) 32px !important;
  padding: clamp(24px, 4vw, 40px) clamp(24px, 4.5vw, 48px) !important;
  border: 0 !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand) 55%, #a45e70) !important;
  font-size: clamp(22px, 3vw, 32px) !important;
  line-height: 1.45 !important;
  letter-spacing: .025em;
}

.block_text h2 span,
.block_text h3 span {
  padding: 0 !important;
  color: inherit !important;
  background: none !important;
}

.block_text h4 {
  position: relative;
  margin: 40px 0 22px !important;
  padding: 0 0 12px 20px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  color: var(--ink) !important;
  background: none !important;
  font-size: clamp(19px, 2.2vw, 24px) !important;
  line-height: 1.55 !important;
}

.block_text h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  width: 5px;
  height: 1.25em;
  border-radius: 99px;
  background: linear-gradient(var(--brand), var(--accent));
}

.block_text p {
  color: var(--ink) !important;
  font-size: 16px !important;
  line-height: 2 !important;
}

.block_text p strong {
  color: var(--brand-dark);
  font-size: 1.08em;
}

.txt-img {
  margin: 0 0 30px !important;
}

.txt-img img {
  display: block;
  width: 100% !important;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(73, 42, 54, .10);
}

#index_wrapper {
  width: 100% !important;
  margin: 34px 0 4px !important;
  padding: 0 !important;
}

#indexlist,
#index_inner {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#index_inner {
  overflow: hidden;
  border: 1px solid var(--line) !important;
  border-radius: 18px;
  background: #fbf7f8 !important;
}

#index_inner .title {
  padding: 17px 22px !important;
  color: var(--brand-dark) !important;
  background: var(--brand-soft) !important;
  font-weight: 700;
}

#index_inner > ul {
  margin: 0 !important;
  padding: 18px 28px 22px 46px !important;
}

#index_inner li {
  margin: .45em 0;
  line-height: 1.65;
}

#index_inner a {
  color: var(--ink) !important;
  text-decoration-color: rgba(124, 63, 88, .35);
}

#index_button {
  top: 12px !important;
  right: 14px !important;
  border-radius: 999px !important;
}

#menu {
  position: sticky;
  top: 20px;
}

#menu .menuitem,
#menu .menubox,
#space3 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#menu .menuitem > h4 {
  margin: 0 0 14px !important;
  padding: 0 4px !important;
  border: 0 !important;
  color: var(--ink) !important;
  background: none !important;
  font-size: 18px !important;
  letter-spacing: .04em;
}

.ad-stack {
  display: grid;
  gap: 14px;
}

.ad-card,
.ad-feature {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #fff, #fcf7f8);
  box-shadow: 0 12px 34px rgba(73, 42, 54, .08);
}

.ad-card {
  margin: 0 !important;
  padding: 14px !important;
  border-radius: 20px;
  text-align: left;
}

.ad-creative {
  position: relative;
  overflow: hidden;
  margin: 0 0 16px;
  border-radius: 14px;
  background: #f2ecee;
  box-shadow: inset 0 0 0 1px rgba(124, 63, 88, .08);
}

.ad-creative a {
  display: block;
  line-height: 0;
}

.ad-creative a > img {
  display: block;
  width: 100% !important;
  height: auto !important;
  border: 0;
}

.ad-creative > img[width="1"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.ad-creative--feature {
  width: min(350px, 100%);
  margin: 0;
}

.ad-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 16px;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.ad-monogram {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #7554a8, #a376cf);
  box-shadow: 0 8px 20px rgba(92, 62, 132, .24);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .05em;
}

.ad-monogram--asobo {
  background: linear-gradient(135deg, #d36f56, #eea05f);
  box-shadow: 0 8px 20px rgba(211, 111, 86, .24);
}

.ad-monogram--happy {
  background: linear-gradient(135deg, #2a7591, #54a5a0);
  box-shadow: 0 8px 20px rgba(42, 117, 145, .24);
}

.ad-card h5 {
  margin: 14px 0 8px !important;
  color: var(--ink) !important;
  font-size: 19px !important;
  line-height: 1.45;
}

.ad-card p {
  margin: 0 0 18px !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.75 !important;
}

.ad-action a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px !important;
  border-radius: 12px;
  color: #fff !important;
  background: var(--brand) !important;
  box-shadow: 0 8px 18px rgba(124, 63, 88, .20);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.ad-action a:hover {
  color: #fff !important;
  background: var(--brand-dark) !important;
  box-shadow: 0 10px 24px rgba(95, 46, 66, .27);
  transform: translateY(-2px);
}

.ad-feature {
  margin: 34px 0 6px;
  padding: 22px;
  border-radius: 20px;
}

.ad-feature__body {
  display: grid;
  grid-template-columns: minmax(240px, 350px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.ad-feature__body > * {
  min-width: 0;
}

.ad-feature .ad-action {
  grid-column: 2;
  justify-self: start;
}

.ad-copy {
  display: grid;
  gap: 4px;
  writing-mode: horizontal-tb !important;
  word-break: normal;
  overflow-wrap: anywhere;
}

.ad-copy strong {
  color: var(--ink);
  font-size: 17px;
}

.ad-copy span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.tracking-pixel {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.ad-action {
  position: relative;
}

.ad-action img {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

#pagetop {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  z-index: 10;
  margin: 0 !important;
}

#pagetop a {
  display: grid !important;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 50%;
  color: transparent !important;
  background: var(--brand) !important;
  box-shadow: 0 10px 24px rgba(73, 42, 54, .22);
  text-decoration: none;
}

#pagetop a::before {
  content: "↑";
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

#footer {
  margin: 0 !important;
  padding: 34px 20px !important;
  color: rgba(255,255,255,.82) !important;
  background: var(--ink) !important;
  text-align: center;
}

#footer small,
#footer .inner {
  width: auto !important;
  color: inherit !important;
  font-size: 12px !important;
  line-height: 1.7;
}

@media (max-width: 900px) {
  #layoutbox {
    grid-template-columns: minmax(0, 1fr);
  }

  #menu {
    position: static;
  }

  .ad-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px !important;
  }

  #top .inner,
  #header,
  #layoutbox {
    width: min(100% - 24px, 1120px) !important;
  }

  #top .inner {
    min-height: 62px;
  }

  #header {
    margin-top: 12px !important;
    border-radius: 18px;
  }

  #header > img {
    height: 270px !important;
  }

  #layoutbox {
    margin-top: 20px !important;
    margin-bottom: 48px !important;
    gap: 18px;
  }

  #main article {
    gap: 18px;
  }

  .block_text {
    padding: 22px 18px !important;
    border-radius: 18px;
  }

  .block_text h2,
  .block_text h3 {
    margin: -22px -18px 24px !important;
    padding: 24px 18px !important;
    font-size: 21px !important;
  }

  .block_text h4 {
    margin-top: 32px !important;
    font-size: 19px !important;
  }

  .block_text p {
    font-size: 15px !important;
    line-height: 1.9 !important;
  }

  #index_inner > ul {
    padding: 16px 18px 20px 36px !important;
  }

  .ad-feature__body {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .ad-feature .ad-action {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .ad-creative--feature {
    width: min(100%, 350px);
    margin-inline: auto;
  }

  .ad-stack {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ad-action a {
    transition: none;
  }
}
